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>
This commit is contained in:
parent
3ff752c002
commit
445f1be2a5
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue