summaryrefslogtreecommitdiffstats
path: root/drivers/usb/wusbcore
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-10-09 01:01:37 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-12 01:26:46 +0200
commit2b84f92b8141679be6b90396655fa4887589ec28 (patch)
tree412ce6b97862813978b33b043eab4993b337bd09 /drivers/usb/wusbcore
parentusb: chipidea: udc: Fix calling spin_lock_irqsave at sleep context (diff)
downloadlinux-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/wusbcore')
-rw-r--r--drivers/usb/wusbcore/cbaf.c4
-rw-r--r--drivers/usb/wusbcore/devconnect.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/wusbcore/cbaf.c b/drivers/usb/wusbcore/cbaf.c
index 7f78f300f8fb..010f99087506 100644
--- a/drivers/usb/wusbcore/cbaf.c
+++ b/drivers/usb/wusbcore/cbaf.c
@@ -208,9 +208,9 @@ static int cbaf_check(struct cbaf *cbaf)
ar_name = "ASSOCIATE";
ar_assoc = 1;
break;
- };
+ }
break;
- };
+ }
dev_dbg(dev, "Association request #%02u: 0x%04x/%04x "
"(%zu bytes): %s\n",
diff --git a/drivers/usb/wusbcore/devconnect.c b/drivers/usb/wusbcore/devconnect.c
index 33a12788f9ca..e538b72c4e3a 100644
--- a/drivers/usb/wusbcore/devconnect.c
+++ b/drivers/usb/wusbcore/devconnect.c
@@ -973,7 +973,7 @@ int wusb_usb_ncb(struct notifier_block *nb, unsigned long val,
default:
WARN_ON(1);
result = NOTIFY_BAD;
- };
+ }
return result;
}