]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drivers/sbus/char: removes unnecessary semicolon
authorPeter Senna Tschudin <peter.senna@gmail.com>
Wed, 12 Sep 2012 07:03:12 +0000 (07:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Sep 2012 19:08:56 +0000 (12:08 -0700)
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>
drivers/sbus/char/display7seg.c
drivers/sbus/char/envctrl.c
drivers/sbus/char/openprom.c

index 4b9939726c342f3b5e32b1cc5f3ebfe5c88ef945..b160073e54b65e76baa876f06720d4ab92ae160e 100644 (file)
@@ -150,7 +150,7 @@ static long d7s_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
                        regs |= D7S_FLIP;
                writeb(regs, p->regs);
                break;
-       };
+       }
        mutex_unlock(&d7s_mutex);
 
        return error;
index 339fd6f65eda7ff3ba3d90914e8b79c73ae15d34..0bc18569f9c0afe35c908ea2676cf59973538dae 100644 (file)
@@ -353,7 +353,7 @@ static int envctrl_i2c_data_translate(unsigned char data, int translate_type,
 
        default:
                break;
-       };
+       }
 
        return len;
 }
@@ -644,7 +644,7 @@ envctrl_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
        default:
                break;
 
-       };
+       }
 
        return ret;
 }
@@ -687,7 +687,7 @@ envctrl_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 
        default:
                return -EINVAL;
-       };
+       }
 
        return 0;
 }
@@ -947,7 +947,7 @@ static void envctrl_init_i2c_child(struct device_node *dp,
 
                default:
                        break;
-               };
+               }
        }
 }
 
index 2236aea3ca2fde226e1e85fcffd3461f2321d06c..5843288f64bc00c8e5666a499767aee995795820 100644 (file)
@@ -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;