]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: remove redundant initialization of 'pool'
authorColin Ian King <colin.king@canonical.com>
Tue, 16 Jan 2018 12:48:09 +0000 (12:48 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 26 Feb 2018 16:28:14 +0000 (08:28 -0800)
commitf3554f0b1bce20c9270d956ff2ac87679118343f
treeb0f07e8e5ec7a4d3bc391dc9382ce6e5e90b0924
parent8b5b7a1b2df14d3dddb428241e335f4bbdf16102
ixgbe: remove redundant initialization of 'pool'

Variable pool is being assigned zero and then in the following for-loop
is it being set to zero again. Remove the redundant first assignment.

Cleans up clang warning:
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c:61:2: warning: Value stored
to 'pool' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c