diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-01-19 22:03:13 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-19 16:09:14 -0800 |
commit | 445f1be2a59a9eb8991732035fbda6e7e5820241 (patch) | |
tree | 39c7c53d053d357f06aeb3b14e63619fc7171220 /drivers/net/ethernet/realtek | |
parent | 3ff752c00288db8f214037ca6280c635d850bab4 (diff) |
r8169: remove unneeded call in pcierr
rtl8169_hw_reset() is called as part of the reset routine which is
scheduled in the line after. So we can remove the call to
rtl8169_hw_reset() here.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek')
-rw-r--r-- | drivers/net/ethernet/realtek/r8169.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index b2e30e3025b6..fd3c6a5487fd 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -6196,8 +6196,6 @@ static void rtl8169_pcierr_interrupt(struct net_device *dev) dev->features &= ~NETIF_F_HIGHDMA; } - rtl8169_hw_reset(tp); - rtl_schedule_task(tp, RTL_FLAG_TASK_RESET_PENDING); } |