]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drivers/char: removes unnecessary semicolon
authorPeter Senna Tschudin <peter.senna@gmail.com>
Wed, 12 Sep 2012 17:03:18 +0000 (19:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 20:20:39 +0000 (13:20 -0700)
removes unnecessary semicolon

Found by Coccinelle: http://coccinelle.lip6.fr/

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/nwbutton.c
drivers/char/rtc.c

index 04a480f86c6c8e7a052f68ff9c4e813d61d5e5d9..cfdfe493c6af007a4d2455ab0315ef2611d8ebb3 100644 (file)
@@ -93,9 +93,9 @@ int button_del_callback (void (*callback) (void))
                        button_callback_list [lp].count = 0;
                        callback_count--;
                        return 0;
-               };
+               }
                lp--;
-       };
+       }
        return -EINVAL;
 }
 
index af9437488b6c11353d1d0ff5737aecb7afff5c51..91470fdbab2a578610e4269e88a959e6694c6ef6 100644 (file)
@@ -411,7 +411,7 @@ static int rtc_do_ioctl(unsigned int cmd, unsigned long arg, int kernel)
                case RTC_IRQP_READ:
                case RTC_IRQP_SET:
                        return -EINVAL;
-               };
+               }
        }
 #endif