]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit508027a6d288758b0b2118b82ee9c72f55f27f49
treef054e1bb94a798e539434c4bc0e485c40fa0e182
parent1d53fec1b497064c692a36a69854b64807018316
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