net/ice/base: reduce scope of variables
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 30 Mar 2020 11:45:24 +0000 (19:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commit58283d1b88eec5c2b11ad4905e59859097f89141
tree07ad073fd9f8d9f9dce0637dfc969e11156b7136
parentc59e2faf147339e9b8375e2698919b8c053b0666
net/ice/base: reduce scope of variables

The scope of these variables can be reduced, so do so. This also
eliminates the need for the extra wrapping/braces.

Also, compact a line since it can fit within 80 columns

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_fdir.c