All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][next] igc: remove redundant continue statement
@ 2021-08-29 16:51 ` Colin King
  0 siblings, 0 replies; 6+ messages in thread
From: Colin King @ 2021-08-29 16:51 UTC (permalink / raw)
  To: Jesse Brandeburg, Tony Nguyen, David S . Miller, Jakub Kicinski,
	intel-wired-lan, netdev
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

The continue statement at the end of a for-loop has no effect,
remove it.

Addresses-Coverity: ("Continue has no effect")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/net/ethernet/intel/igc/igc_ptp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/igc/igc_ptp.c b/drivers/net/ethernet/intel/igc/igc_ptp.c
index 0f021909b430..b615a980f563 100644
--- a/drivers/net/ethernet/intel/igc/igc_ptp.c
+++ b/drivers/net/ethernet/intel/igc/igc_ptp.c
@@ -860,7 +860,6 @@ static int igc_phc_get_syncdevicetime(ktime_t *device,
 			 * so write the previous error status to clear it.
 			 */
 			wr32(IGC_PTM_STAT, stat);
-			continue;
 		}
 	} while (--count);
 
-- 
2.32.0


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

end of thread, other threads:[~2021-09-01 16:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-29 16:51 [PATCH][next] igc: remove redundant continue statement Colin King
2021-08-29 16:51 ` [Intel-wired-lan] " Colin King
2021-08-29 17:40 ` Joe Perches
2021-08-29 17:40   ` [Intel-wired-lan] " Joe Perches
2021-09-01 16:38 ` Vinicius Costa Gomes
2021-09-01 16:38   ` [Intel-wired-lan] " Vinicius Costa Gomes

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.