mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
r8169: remove calls to rtl_set_rx_mode
__dev_open() calls the ndo_set_rx_mode callback anyway, so we don't have to do it here too. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3559d81e76
commit
82d3ff6dd1
1 changed files with 0 additions and 6 deletions
|
@ -5445,8 +5445,6 @@ static void rtl_hw_start_8169(struct rtl8169_private *tp)
|
|||
|
||||
RTL_W32(tp, RxMissed, 0);
|
||||
|
||||
rtl_set_rx_mode(tp->dev);
|
||||
|
||||
/* no early-rx interrupts */
|
||||
RTL_W16(tp, MultiIntr, RTL_R16(tp, MultiIntr) & 0xf000);
|
||||
}
|
||||
|
@ -6361,8 +6359,6 @@ static void rtl_hw_start_8168(struct rtl8169_private *tp)
|
|||
|
||||
RTL_W8(tp, ChipCmd, CmdTxEnb | CmdRxEnb);
|
||||
|
||||
rtl_set_rx_mode(tp->dev);
|
||||
|
||||
RTL_W16(tp, MultiIntr, RTL_R16(tp, MultiIntr) & 0xf000);
|
||||
}
|
||||
|
||||
|
@ -6554,8 +6550,6 @@ static void rtl_hw_start_8101(struct rtl8169_private *tp)
|
|||
|
||||
RTL_W8(tp, ChipCmd, CmdTxEnb | CmdRxEnb);
|
||||
|
||||
rtl_set_rx_mode(tp->dev);
|
||||
|
||||
RTL_R8(tp, IntrMask);
|
||||
|
||||
RTL_W16(tp, MultiIntr, RTL_R16(tp, MultiIntr) & 0xf000);
|
||||
|
|
Loading…
Reference in a new issue