summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/realtek
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@mns.spb.ru>2012-10-29 07:55:12 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-03 14:59:05 -0400
commit4d44a9abaadcb078cf60fe3b763eb9bc2b6cbe8b (patch)
treea734f5ad886b17565d293a38a16dd356a5783aff /drivers/net/ethernet/realtek
parent94e187c01512c9cf29e2ff54bf1a1b045f38293d (diff)
downloadlwn-4d44a9abaadcb078cf60fe3b763eb9bc2b6cbe8b.tar.gz
lwn-4d44a9abaadcb078cf60fe3b763eb9bc2b6cbe8b.zip
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>
Diffstat (limited to 'drivers/net/ethernet/realtek')
-rw-r--r--drivers/net/ethernet/realtek/r8169.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index 123c6a5c5fe6..bf0b32411b1a 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -78,7 +78,6 @@ static const int multicast_filter_limit = 32;
#define MAX_READ_REQUEST_SHIFT 12
#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 R8169_REGS_SIZE 256