OSDN Git Service

e1000e: Drop unnecessary __E1000_DOWN bit twiddling
authorAlexander Duyck <alexander.h.duyck@linux.intel.com>
Fri, 11 Oct 2019 15:34:59 +0000 (08:34 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Oct 2019 04:02:03 +0000 (21:02 -0700)
commitdaee5598e491d8d3979bd4ad6c447d89ce57b446
treedf2a71f9b485d66ff6aa38179729c6948f205c56
parenta7023819404ac9bd2bb311a4fafd38515cfa71ec
e1000e: Drop unnecessary __E1000_DOWN bit twiddling

Since we no longer check for __E1000_DOWN in e1000e_close we can drop the
spot where we were restoring the bit. This saves us a bit of unnecessary
complexity.

Signed-off-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c