summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/net2280.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-10-08 16:01:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-11 16:26:46 -0700
commit2b84f92b8141679be6b90396655fa4887589ec28 (patch)
tree412ce6b97862813978b33b043eab4993b337bd09 /drivers/usb/gadget/net2280.c
parent65b2fb32b5ce53e103e026b6f95b784c5921cd2e (diff)
downloadlinux-2b84f92b8141679be6b90396655fa4887589ec28.tar.gz
linux-2b84f92b8141679be6b90396655fa4887589ec28.tar.bz2
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.c4
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
);