Skip to contentSkip to conversation

usb: cdnsp: remove unneeded semicolon

PATCH New Jiapeng Chong 1 participant 1 message Feb 22, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: cdnsp: remove unneeded semicolon

Fix the following coccicheck warnings:

./drivers/usb/cdns3/cdnsp-gadget.c:83:2-3: Unneeded semicolon.

---
 drivers/usb/cdns3/cdnsp-gadget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/cdns3/cdnsp-gadget.c +1 -1
index f2ebbac..c186a617 100644
@@ -80,7 +80,7 @@ int cdnsp_find_next_ext_cap(void __iomem *base, u32 start, int id)
 		offset = HCC_EXT_CAPS(val) << 2;
 		if (!offset)
 			return 0;
-	};
+	}
 
 	do {
 		val = readl(base + offset);
Signature · 1 line
1.8.3.1