lkml.org 
[lkml]   [2009]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 47/62] drivers/usb: Remove unnecessary semicolons
    Date
    Signed-off-by: Joe Perches <joe@perches.com>
    ---
    drivers/usb/class/cdc-wdm.c | 2 --
    drivers/usb/serial/spcp8x5.c | 2 +-
    2 files changed, 1 insertions(+), 3 deletions(-)

    diff --git a/drivers/usb/class/cdc-wdm.c b/drivers/usb/class/cdc-wdm.c
    index 0fe4345..76929ea 100644
    --- a/drivers/usb/class/cdc-wdm.c
    +++ b/drivers/usb/class/cdc-wdm.c
    @@ -507,8 +507,6 @@ static int wdm_open(struct inode *inode, struct file *file)
    desc = usb_get_intfdata(intf);
    if (test_bit(WDM_DISCONNECTING, &desc->flags))
    goto out;
    -
    - ;
    file->private_data = desc;

    rv = usb_autopm_get_interface(desc->intf);
    diff --git a/drivers/usb/serial/spcp8x5.c b/drivers/usb/serial/spcp8x5.c
    index 3c249d8..26d2914 100644
    --- a/drivers/usb/serial/spcp8x5.c
    +++ b/drivers/usb/serial/spcp8x5.c
    @@ -546,7 +546,7 @@ static void spcp8x5_set_termios(struct tty_struct *tty,
    }

    /* Set Baud Rate */
    - baud = tty_get_baud_rate(tty);;
    + baud = tty_get_baud_rate(tty);
    switch (baud) {
    case 300: buf[0] = 0x00; break;
    case 600: buf[0] = 0x01; break;
    --
    1.6.3.1.10.g659a0.dirty


    \
     
     \ /
      Last update: 2009-06-28 19:03    [W:0.020 / U:1.088 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site