]> git.baikalelectronics.ru Git - kernel.git/commit
ice: reduce scope of variable
authorBruce Allan <bruce.w.allan@intel.com>
Mon, 13 Jul 2020 20:53:16 +0000 (13:53 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 29 Jul 2020 15:38:55 +0000 (08:38 -0700)
commitcb242e8b98147b3601977b1023f9818ea812e0b4
tree3f532456ba25bba2a015b3d6a71e8ebb3884b29e
parent45f1fa2c2a35ef83e51884ddf8bb27622460adb7
ice: reduce scope of variable

The scope of the macro local variable 'i' can be reduced.  Do so to avoid
static analysis tools from complaining.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_controlq.c