ixgbevf: remove redundant initialization of variable 'dma'
authorColin Ian King <colin.king@canonical.com>
Thu, 1 Feb 2018 18:35:39 +0000 (18:35 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 26 Feb 2018 17:38:50 +0000 (09:38 -0800)
commit93a6a37c6982ac39206da2fa05dcf5868049a378
tree2da181c86bc73ef44eb533d028d51376b2b881fe
parent6d9c02171a8081f3746ea8cf7c67b0063a2272db
ixgbevf: remove redundant initialization of variable 'dma'

Variable dma is initialized with a value that is never read, later
on it is re-assigned a new value, hence the initialization is redundant
and can be removed.

Cleans up clang warning:
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:584:13: warning: Value
stored to 'dma' during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c