r8169: remove not needed call to rtl_wol_enable_rx from rtl_shutdown
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 25 Jan 2021 16:55:12 +0000 (17:55 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Jan 2021 00:48:37 +0000 (16:48 -0800)
commit17ce76c4985f166572c7870b86b41dae7b95cb9e
treec9336566265271a1e9ea7cc4c279c4bc0a36e263
parent275b1e88cabb34dbcbe99756b67e9939d34a99b6
r8169: remove not needed call to rtl_wol_enable_rx from rtl_shutdown

rtl_wol_enable_rx() is called via the following call chain if WoL
is enabled:
rtl8169_down()
-> rtl_prepare_power_down()
   -> rtl_wol_enable_rx()
Therefore we don't have to call this function here.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/34ce78e2-596c-e2ac-16aa-c550fa624c22@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c