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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Feb 2020 21:22:39 +0000 (21:22 +0000)
commit21c6137939723ed6f5e4aec7882cdfc247304c27
tree77597b3b1456a4a02e0437f925b54045ff350d60
parent5ca5637ec665a2fb0c7e2a562926b34e8ed2a2cc
e1000e: Drop unnecessary __E1000_DOWN bit twiddling

[ Upstream commit daee5598e491d8d3979bd4ad6c447d89ce57b446 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/intel/e1000e/netdev.c