lkml.org 
[lkml]   [2014]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 01/10 linux-next] USB: iowarrior: remove unnecessary break after goto
    Date
    Signed-off-by: Fabian Frederick <fabf@skynet.be>
    ---
    drivers/usb/misc/iowarrior.c | 3 ---
    1 file changed, 3 deletions(-)

    diff --git a/drivers/usb/misc/iowarrior.c b/drivers/usb/misc/iowarrior.c
    index c6bfd13..17ce9a4 100644
    --- a/drivers/usb/misc/iowarrior.c
    +++ b/drivers/usb/misc/iowarrior.c
    @@ -381,7 +381,6 @@ static ssize_t iowarrior_write(struct file *file,
    retval = usb_set_report(dev->interface, 2, 0, buf, count);
    kfree(buf);
    goto exit;
    - break;
    case USB_DEVICE_ID_CODEMERCS_IOW56:
    /* The IOW56 uses asynchronous IO and more urbs */
    if (atomic_read(&dev->write_busy) == MAX_WRITES_IN_FLIGHT) {
    @@ -447,14 +446,12 @@ static ssize_t iowarrior_write(struct file *file,
    retval = count;
    usb_free_urb(int_out_urb);
    goto exit;
    - break;
    default:
    /* what do we have here ? An unsupported Product-ID ? */
    dev_err(&dev->interface->dev, "%s - not supported for product=0x%x\n",
    __func__, dev->product_id);
    retval = -EFAULT;
    goto exit;
    - break;
    }
    error:
    usb_free_coherent(dev->udev, dev->report_size, buf,
    --
    1.8.4.5


    \
     
     \ /
      Last update: 2014-07-24 13:22    [W:3.128 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site