ice: remove redundant continue statement in a for-loop
authorColin Ian King <colin.king@canonical.com>
Tue, 15 Jun 2021 14:28:47 +0000 (15:28 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 17 Jun 2021 16:25:06 +0000 (09:25 -0700)
commit587b839de733a8cdef3cbb805014e05229e7c96b
treef054e1bb94a798e539434c4bc0e485c40fa0e182
parent4d7f75fe8006a1345e6a52b3e3a4c82633f20564
ice: remove redundant continue statement in a for-loop

The continue statement in the for-loop is redundant. Re-work the hw_lock
check to remove it.

Addresses-Coverity: ("Continue has no effect")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_ptp_hw.c