Explorar o código

r8169: Kill SafeMtu macro

After d58d46b5 (r8169: jumbo fixes.) max frame len is stored in
rtl_chip_infos[].jumbo_max for each chip and SafeMtu should be gone.

Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Kirill Smelkov %!s(int64=12) %!d(string=hai) anos
pai
achega
4d44a9abaa
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      drivers/net/ethernet/realtek/r8169.c

+ 0 - 1
drivers/net/ethernet/realtek/r8169.c

@@ -78,7 +78,6 @@ static const int multicast_filter_limit = 32;
 
 
 #define MAX_READ_REQUEST_SHIFT	12
 #define MAX_READ_REQUEST_SHIFT	12
 #define TX_DMA_BURST	7	/* Maximum PCI burst, '7' is unlimited */
 #define TX_DMA_BURST	7	/* Maximum PCI burst, '7' is unlimited */
-#define SafeMtu		0x1c20	/* ... actually life sucks beyond ~7k */
 #define InterFrameGap	0x03	/* 3 means InterFrameGap = the shortest one */
 #define InterFrameGap	0x03	/* 3 means InterFrameGap = the shortest one */
 
 
 #define R8169_REGS_SIZE		256
 #define R8169_REGS_SIZE		256