[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1613982162-72490-1-git-send-email-jiapeng.chong@linux.alibaba.com>
Date: Mon, 22 Feb 2021 16:22:42 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: pawell@...ence.com
Cc: gregkh@...uxfoundation.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Subject: [PATCH] usb: cdnsp: remove unneeded semicolon
Fix the following coccicheck warnings:
./drivers/usb/cdns3/cdnsp-gadget.c:83:2-3: Unneeded semicolon.
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
drivers/usb/cdns3/cdnsp-gadget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/cdns3/cdnsp-gadget.c b/drivers/usb/cdns3/cdnsp-gadget.c
index f2ebbac..c186a617 100644
--- a/drivers/usb/cdns3/cdnsp-gadget.c
+++ b/drivers/usb/cdns3/cdnsp-gadget.c
@@ -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);
--
1.8.3.1
Powered by blists - more mailing lists