diff options
author | Peter Senna Tschudin <peter.senna@gmail.com> | 2012-09-12 11:03:12 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-21 23:08:56 +0400 |
commit | da201161662b8ee9c8d7bd8cc50ce3cb3366d400 (patch) | |
tree | 2e5b2beed567cb9ebd1dd2970562f6545bb99125 /drivers/sbus/char/openprom.c | |
parent | 20b739fef0d3c32829e56f7c1a1ecccc2f61a73b (diff) | |
download | linux-da201161662b8ee9c8d7bd8cc50ce3cb3366d400.tar.xz |
drivers/sbus/char: removes unnecessary semicolon
removes unnecessary semicolon
Found by Coccinelle: http://coccinelle.lip6.fr/
Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus/char/openprom.c')
-rw-r--r-- | drivers/sbus/char/openprom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sbus/char/openprom.c b/drivers/sbus/char/openprom.c index 2236aea3ca2f..5843288f64bc 100644 --- a/drivers/sbus/char/openprom.c +++ b/drivers/sbus/char/openprom.c @@ -222,7 +222,7 @@ static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp case OPROMSETCUR: default: break; - }; + } } else { /* Sibling of node zero is the root node. */ if (cmd != OPROMNEXT) @@ -588,7 +588,7 @@ static int openprom_bsd_ioctl(struct file * file, default: err = -EINVAL; break; - }; + } mutex_unlock(&openprom_mutex); return err; |