All of lore.kernel.org
 help / color / mirror / Atom feed
* usb: dwc3: drd: fix semicolon.cocci warnings
@ 2018-11-14 15:35 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-11-14 15:35 UTC (permalink / raw)
  To: Heikki Krogerus; +Cc: kbuild-all, linux-usb, linux-omap, Felipe Balbi

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(-)

--- 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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-14 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-14 15:35 usb: dwc3: drd: fix semicolon.cocci warnings kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.