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)
commite923f04d660dd1dde872be8d63527fc2fd257874
tree3f532456ba25bba2a015b3d6a71e8ebb3884b29e
parent78116e979ddc4928398420aa986fd283db23c361
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