i40evf: fix compiler warning of unused variable
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Sun, 4 Oct 2015 08:09:49 +0000 (01:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 23 Nov 2015 19:08:51 +0000 (11:08 -0800)
commitcfbe4dba0d5891faa11bd4e7c1fcdc512aff2f5f
treef89a238dc564620ca7023cc0bf21bbcac7e96a2c
parentd206563ad8f6fb41943366cf22f1aabc19d2b1a7
i40evf: fix compiler warning of unused variable

Compiler complained of an unused variable, which the driver was just
using to store the result of a rd32 which is used to clear a register
unconditionally.  Just drop the unused variable and re-use one.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c