netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nfc: mrvl: remove useless "continue" at end of loop
@ 2021-06-01 16:07 Krzysztof Kozlowski
  2021-06-01 16:30 ` Joe Perches
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2021-06-01 16:07 UTC (permalink / raw)
  To: Krzysztof Kozlowski, linux-nfc, netdev, linux-kernel

The "continue" statement at the end of a for loop does not have an
effect.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 drivers/nfc/nfcmrvl/usb.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/nfc/nfcmrvl/usb.c b/drivers/nfc/nfcmrvl/usb.c
index bcd563cb556c..433bdc37ba91 100644
--- a/drivers/nfc/nfcmrvl/usb.c
+++ b/drivers/nfc/nfcmrvl/usb.c
@@ -325,7 +325,6 @@ static int nfcmrvl_probe(struct usb_interface *intf,
 		if (!drv_data->bulk_rx_ep &&
 		    usb_endpoint_is_bulk_in(ep_desc)) {
 			drv_data->bulk_rx_ep = ep_desc;
-			continue;
 		}
 	}
 
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-02 11:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 16:07 [PATCH] nfc: mrvl: remove useless "continue" at end of loop Krzysztof Kozlowski
2021-06-01 16:30 ` Joe Perches
2021-06-01 16:38   ` [PATCH] MAINTAINERS: nfc mailing lists are subscribers-only Joe Perches
2021-06-02  0:20     ` patchwork-bot+netdevbpf
2021-06-02 11:10   ` [PATCH] nfc: mrvl: remove useless "continue" at end of loop Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).