]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit62ace08b25da39ef4561e0cce1ebb39d9820fdc7
tree0db25258cf7531c2f193ebf8a70920adc3f4c9d0
parent982537d7d909be4603fff8838adb8dc9460e71fd
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