OSDN Git Service

ice: remove redundant assignment to variable xmit_done
authorColin Ian King <colin.king@canonical.com>
Thu, 19 Dec 2019 23:45:35 +0000 (23:45 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 17 Jan 2020 17:55:34 +0000 (09:55 -0800)
commit102d412a3d565a105f16e883169239dd66b680b5
tree0db25258cf7531c2f193ebf8a70920adc3f4c9d0
parented5a3f664c557e2ee5d92f75398a0fc8ab522ad5
ice: remove redundant assignment to variable xmit_done

The variable xmit_done is being initialized with a value that is never
read and it is being updated later with a new value. The initialization
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
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/ice/ice_xsk.c