r8169: Remove unfounded interrupts
PATCH 1/1 r8169: Remove unfounded interrupts
Remove unfounded interrupts which is not on RTL 8101 series.
Signed-off-by Corcodel Marian <[email protected]>
drivers/net/ethernet/realtek/r8169.c +3 -3
@@ -6614,15 +6614,15 @@ static void rtl_hw_start_8101(struct net_device *dev)RTL_W8 (Cfg9346, Cfg9346_Lock); -RTL_W16 (IntrMitigate,0x0000 ); +//RTL_W16(IntrMitigate, 0x0000); //RTL_W8(ChipCmd, CmdTxEnb | CmdRxEnb); rtl_set_rx_mode (dev); -RTL_R8 (IntrMask); +//RTL_R8(IntrMask); -RTL_W16 (MultiIntr,RTL_R16 (MultiIntr) &0xf000 ); +//RTL_W16(MultiIntr, RTL_R16(MultiIntr) & 0xf000); }static int rtl8169_change_mtu (struct net_device *dev,int new_mtu)
Signature · 1 line
2.1.4
Quoted 3 lines · On Sun, 23 Aug 2015 19:18:30 +0300 Corcodel Marian <[email protected]>…
Remove unfounded interrupts which is not on RTL 8101 series.
Signed-off-by Corcodel Marian <[email protected]>
Kernel style standards precludes use of C++ style comments.
Also, it is is considered best practice to delete incorrect or dead code rather than littering the source with dead snippets.