diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2017-09-19 17:33:08 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-20 15:47:30 -0700 |
commit | 7063c163cd4a20184b3bbada503dab8f254a8c56 (patch) | |
tree | befbe0b681ff75239efc3d91961afe3ce591c8db /drivers/net/ethernet | |
parent | 5e62d98c4bbc243f3dca18e73a754b629839fc5c (diff) | |
download | blackbird-obmc-linux-7063c163cd4a20184b3bbada503dab8f254a8c56.tar.gz blackbird-obmc-linux-7063c163cd4a20184b3bbada503dab8f254a8c56.zip |
net: fec: remove unused interrupt FEC_ENET_TS_TIMER
FEC_ENET_TS_TIMER is not checked in the interrupt routine
so there is no need to enable it.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/freescale/fec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/fec.h b/drivers/net/ethernet/freescale/fec.h index 38c7b21e5d63..ede1876a9a19 100644 --- a/drivers/net/ethernet/freescale/fec.h +++ b/drivers/net/ethernet/freescale/fec.h @@ -374,8 +374,8 @@ struct bufdesc_ex { #define FEC_ENET_TS_AVAIL ((uint)0x00010000) #define FEC_ENET_TS_TIMER ((uint)0x00008000) -#define FEC_DEFAULT_IMASK (FEC_ENET_TXF | FEC_ENET_RXF | FEC_ENET_MII | FEC_ENET_TS_TIMER) -#define FEC_NAPI_IMASK (FEC_ENET_MII | FEC_ENET_TS_TIMER) +#define FEC_DEFAULT_IMASK (FEC_ENET_TXF | FEC_ENET_RXF | FEC_ENET_MII) +#define FEC_NAPI_IMASK FEC_ENET_MII #define FEC_RX_DISABLED_IMASK (FEC_DEFAULT_IMASK & (~FEC_ENET_RXF)) /* ENET interrupt coalescing macro define */ |