net: mvpp2: remove unused register definition MVPP2_TXQ_THRESH_REG
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 7 Mar 2017 15:53:02 +0000 (16:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Mar 2017 18:12:11 +0000 (10:12 -0800)
This register is no longer used since commit edc660fa09e2 ("net: mvpp2:
replace TX coalescing interrupts with hrtimer").

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c

index fb8b5e9a92f04e267fe963de7b83fad6f3b9de56..60cc0206a8f06c45e45fa29f271db7771e170d53 100644 (file)
 #define MVPP2_TXQ_DESC_SIZE_REG                        0x2088
 #define     MVPP2_TXQ_DESC_SIZE_MASK           0x3ff0
 #define MVPP2_AGGR_TXQ_UPDATE_REG              0x2090
-#define MVPP2_TXQ_THRESH_REG                   0x2094
-#define     MVPP2_TRANSMITTED_THRESH_OFFSET    16
-#define     MVPP2_TRANSMITTED_THRESH_MASK      0x3fff0000
 #define MVPP2_TXQ_INDEX_REG                    0x2098
 #define MVPP2_TXQ_PREF_BUF_REG                 0x209c
 #define     MVPP2_PREF_BUF_PTR(desc)           ((desc) & 0xfff)