ice: Reduce scope of variables
authorTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 23 Nov 2022 16:56:40 +0000 (08:56 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 19 Jan 2023 16:18:03 +0000 (08:18 -0800)
commitbd557d97978ea3e22653117a39184b5db70c7093
tree313ad329d3653e84ab0dcb15370181269eb33323
parent2ffd87d38d6b9dd8575e4b763ead7127c2695bcb
ice: Reduce scope of variables

There are some places where the scope of a variable can
be reduced, so do that.

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
drivers/net/ethernet/intel/ice/ice_sched.c