]> git.baikalelectronics.ru Git - kernel.git/commit
ice: fix clang warning regarding deadcode.DeadStores
authorPaul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Wed, 31 Mar 2021 21:17:06 +0000 (14:17 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 7 Jun 2021 15:59:02 +0000 (08:59 -0700)
commit1c70805436ab7e71b9d3cd3d99152146f07223a8
tree8c4162f77d70acebad85b7790d54dad9913ab53f
parent449e134d0b2aebfa3972f090a81faa1fc8941ba6
ice: fix clang warning regarding deadcode.DeadStores

clang generates deadcode.DeadStores warnings when a variable
is used to read a value, but then that value isn't used later
in the code. Fix this warning.

Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_ethtool.c