diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-06-20 02:22:56 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-19 17:01:39 -0700 |
commit | 8f80899665c4baca5fe18e919a18db818c3e11fa (patch) | |
tree | da96efbbe01456249ace1d7b7a7930afd8d0fed8 /drivers/net/ethernet/renesas/sh_eth.h | |
parent | 3719109d61ca96746c733538ec776d02a6952640 (diff) | |
download | op-kernel-dev-8f80899665c4baca5fe18e919a18db818c3e11fa.zip op-kernel-dev-8f80899665c4baca5fe18e919a18db818c3e11fa.tar.gz |
sh_eth: remove 'tx_error_check' field of 'struct sh_eth_cpu_data'
The 'tx_error_check' field of 'struct sh_eth_cpu_data' is write-only, so remove
it along with the DEFAULT_TX_ERROR_CHECK macro.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas/sh_eth.h')
-rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.h b/drivers/net/ethernet/renesas/sh_eth.h index 029744f7..87c7ae9 100644 --- a/drivers/net/ethernet/renesas/sh_eth.h +++ b/drivers/net/ethernet/renesas/sh_eth.h @@ -261,8 +261,6 @@ enum EESR_BIT { #define DEFAULT_EESR_ERR_CHECK (EESR_TWB | EESR_TABT | EESR_RABT | \ EESR_RDE | EESR_RFRMER | EESR_ADE | \ EESR_TFE | EESR_TDE | EESR_ECI) -#define DEFAULT_TX_ERROR_CHECK (EESR_TWB | EESR_TABT | EESR_ADE | EESR_TDE | \ - EESR_TFE) /* EESIPR */ enum DMAC_IM_BIT { @@ -468,7 +466,6 @@ struct sh_eth_cpu_data { /* interrupt checking mask */ unsigned long tx_check; unsigned long eesr_err_check; - unsigned long tx_error_check; /* hardware features */ unsigned long irq_flags; /* IRQ configuration flags */ |