diff options
author | Peter Senna Tschudin <peter.senna@gmail.com> | 2012-09-12 03:03:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-21 15:08:56 -0400 |
commit | da201161662b8ee9c8d7bd8cc50ce3cb3366d400 (patch) | |
tree | 2e5b2beed567cb9ebd1dd2970562f6545bb99125 /drivers/sbus/char | |
parent | 20b739fef0d3c32829e56f7c1a1ecccc2f61a73b (diff) |
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')
-rw-r--r-- | drivers/sbus/char/display7seg.c | 2 | ||||
-rw-r--r-- | drivers/sbus/char/envctrl.c | 8 | ||||
-rw-r--r-- | drivers/sbus/char/openprom.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c index 4b9939726c34..b160073e54b6 100644 --- a/drivers/sbus/char/display7seg.c +++ b/drivers/sbus/char/display7seg.c | |||
@@ -150,7 +150,7 @@ static long d7s_ioctl(struct file *file, unsigned int cmd, unsigned long arg) | |||
150 | regs |= D7S_FLIP; | 150 | regs |= D7S_FLIP; |
151 | writeb(regs, p->regs); | 151 | writeb(regs, p->regs); |
152 | break; | 152 | break; |
153 | }; | 153 | } |
154 | mutex_unlock(&d7s_mutex); | 154 | mutex_unlock(&d7s_mutex); |
155 | 155 | ||
156 | return error; | 156 | return error; |
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c index 339fd6f65eda..0bc18569f9c0 100644 --- a/drivers/sbus/char/envctrl.c +++ b/drivers/sbus/char/envctrl.c | |||
@@ -353,7 +353,7 @@ static int envctrl_i2c_data_translate(unsigned char data, int translate_type, | |||
353 | 353 | ||
354 | default: | 354 | default: |
355 | break; | 355 | break; |
356 | }; | 356 | } |
357 | 357 | ||
358 | return len; | 358 | return len; |
359 | } | 359 | } |
@@ -644,7 +644,7 @@ envctrl_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) | |||
644 | default: | 644 | default: |
645 | break; | 645 | break; |
646 | 646 | ||
647 | }; | 647 | } |
648 | 648 | ||
649 | return ret; | 649 | return ret; |
650 | } | 650 | } |
@@ -687,7 +687,7 @@ envctrl_ioctl(struct file *file, unsigned int cmd, unsigned long arg) | |||
687 | 687 | ||
688 | default: | 688 | default: |
689 | return -EINVAL; | 689 | return -EINVAL; |
690 | }; | 690 | } |
691 | 691 | ||
692 | return 0; | 692 | return 0; |
693 | } | 693 | } |
@@ -947,7 +947,7 @@ static void envctrl_init_i2c_child(struct device_node *dp, | |||
947 | 947 | ||
948 | default: | 948 | default: |
949 | break; | 949 | break; |
950 | }; | 950 | } |
951 | } | 951 | } |
952 | } | 952 | } |
953 | 953 | ||
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 | |||
222 | case OPROMSETCUR: | 222 | case OPROMSETCUR: |
223 | default: | 223 | default: |
224 | break; | 224 | break; |
225 | }; | 225 | } |
226 | } else { | 226 | } else { |
227 | /* Sibling of node zero is the root node. */ | 227 | /* Sibling of node zero is the root node. */ |
228 | if (cmd != OPROMNEXT) | 228 | if (cmd != OPROMNEXT) |
@@ -588,7 +588,7 @@ static int openprom_bsd_ioctl(struct file * file, | |||
588 | default: | 588 | default: |
589 | err = -EINVAL; | 589 | err = -EINVAL; |
590 | break; | 590 | break; |
591 | }; | 591 | } |
592 | mutex_unlock(&openprom_mutex); | 592 | mutex_unlock(&openprom_mutex); |
593 | 593 | ||
594 | return err; | 594 | return err; |