diff mbox series

usb: dwc3: drd: fix semicolon.cocci warnings

Message ID 20181114153510.GA25111@lkp-sb05.lkp.intel.com (mailing list archive)
State New, archived
Headers show
Series usb: dwc3: drd: fix semicolon.cocci warnings | expand

Commit Message

Fengguang Wu Nov. 14, 2018, 3:35 p.m. UTC
From: kbuild test robot <fengguang.wu@intel.com>

drivers/usb/dwc3/drd.c:491:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 24e2238d8c10 ("usb: dwc3: drd: Register a USB role switch")
CC: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next
head:   bad6c1502dac79c80ad5a7149fa308849c0191dd
commit: 24e2238d8c102f242ece57f45fbeb4014929aad4 [17/22] usb: dwc3: drd: Register a USB role switch

 drd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

--- a/drivers/usb/dwc3/drd.c
+++ b/drivers/usb/dwc3/drd.c
@@ -488,7 +488,7 @@  static int dwc3_usb_role_switch_set(stru
 	default:
 		mode = DWC3_GCTL_PRTCAP_OTG;
 		break;
-	};
+	}
 
 	dwc3_set_mode(dev_get_drvdata(dev), mode);
 	return 0;