From: zhong jiang Date: Thu, 20 Sep 2018 08:13:47 +0000 (+0800) Subject: net: neterion: remove redundant continue X-Git-Tag: v5.15~7641^2~304 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68c385079cb3530f03e22e563885e6ddaa11a586;p=platform%2Fkernel%2Flinux-starfive.git net: neterion: remove redundant continue The continue will not truely skip any code. hence it is safe to remove it. Signed-off-by: zhong jiang Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/neterion/s2io.c b/drivers/net/ethernet/neterion/s2io.c index 6266032..82be900 100644 --- a/drivers/net/ethernet/neterion/s2io.c +++ b/drivers/net/ethernet/neterion/s2io.c @@ -3680,11 +3680,9 @@ static void restore_xmsi_data(struct s2io_nic *nic) writeq(nic->msix_info[i].data, &bar0->xmsi_data); val64 = (s2BIT(7) | s2BIT(15) | vBIT(msix_index, 26, 6)); writeq(val64, &bar0->xmsi_access); - if (wait_for_msix_trans(nic, msix_index)) { + if (wait_for_msix_trans(nic, msix_index)) DBG_PRINT(ERR_DBG, "%s: index: %d failed\n", __func__, msix_index); - continue; - } } }