i40e: delete netdev after deleting napi and vectors
authorShannon Nelson <shannon.nelson@intel.com>
Tue, 11 Feb 2014 08:24:07 +0000 (08:24 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 14 Mar 2014 23:29:15 +0000 (16:29 -0700)
commita48665970962a9b50aa81722ca4e943fcfdc6699
tree9f1467b8e73cd2756695d215c384345b8573306c
parentb936136da2223be28452162c3dd22c664a8c7f16
i40e: delete netdev after deleting napi and vectors

We've been deleting the netdev before getting around to deleting the napi
structs.  Unfortunately, we then didn't delete the napi structs because we
have a check for netdev, thus we were leaving garbage around in the system.

Change-ID: Ife540176f6c9f801147495b3f2d2ac2e61ddcc58
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c