diff options
author | Joe Perches <joe@perches.com> | 2013-10-09 01:01:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-12 01:26:46 +0200 |
commit | 2b84f92b8141679be6b90396655fa4887589ec28 (patch) | |
tree | 412ce6b97862813978b33b043eab4993b337bd09 /drivers/usb/gadget/net2280.c | |
parent | usb: chipidea: udc: Fix calling spin_lock_irqsave at sleep context (diff) | |
download | linux-2b84f92b8141679be6b90396655fa4887589ec28.tar.xz linux-2b84f92b8141679be6b90396655fa4887589ec28.zip |
usb: Remove unnecessary semicolons
These aren't necessary after switch and if blocks.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/net2280.c')
-rw-r--r-- | drivers/usb/gadget/net2280.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c index 9fbc8fe5ecc0..fc852177c087 100644 --- a/drivers/usb/gadget/net2280.c +++ b/drivers/usb/gadget/net2280.c @@ -129,7 +129,7 @@ static char *type_string (u8 bmAttributes) case USB_ENDPOINT_XFER_BULK: return "bulk"; case USB_ENDPOINT_XFER_ISOC: return "iso"; case USB_ENDPOINT_XFER_INT: return "intr"; - }; + } return "control"; } #endif @@ -1630,7 +1630,7 @@ static ssize_t queues_show(struct device *_dev, struct device_attribute *attr, val = "intr"; break; default: val = "iso"; break; - }; val; }), + } val; }), usb_endpoint_maxp (d) & 0x1fff, ep->dma ? "dma" : "pio", ep->fifo_size ); |