OSDN Git Service

i40evf: use netdev variable in reset task
authorAlan Brady <alan.brady@intel.com>
Wed, 12 Jul 2017 09:46:04 +0000 (05:46 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 25 Aug 2017 21:52:38 +0000 (14:52 -0700)
commitf0db78928783f0a4cce4940e8c03c2e9a760e629
tree09a06cbf22eae4b984944e08e5674bdcdc071d4f
parentfbb113f773482496d601e0bd934e680b35876016
i40evf: use netdev variable in reset task

If we're going to bother initializing a variable to reference it we might
as well use it.

Signed-off-by: Alan Brady <alan.brady@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