]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40evf: fix compiler warning of unused variable
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Sun, 4 Oct 2015 08:09:49 +0000 (01:09 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:33:16 +0000 (08:33 -0800)
commitb5148625c098773326c410737300daef5774f7ec
tree9e57ba1a0a881b9d42b9e077784e9bd48cf46924
parent1250fad673b3dd4b709fb20dce8c77bcdb085264
i40evf: fix compiler warning of unused variable

Orabug: 22342532

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>
(cherry picked from commit cfbe4dba0d5891faa11bd4e7c1fcdc512aff2f5f)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c