projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebe0582
)
net: stmmac: remove unused members in struct stmmac_priv
author
Jisheng Zhang
<jszhang@kernel.org>
Sun, 23 Jan 2022 12:27:58 +0000
(20:27 +0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 24 Jan 2022 13:31:45 +0000
(13:31 +0000)
The tx_coalesce and mii_irq are not used at all now, so remove them.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/stmicro/stmmac/stmmac.h
b/drivers/net/ethernet/stmicro/stmmac/stmmac.h
index 40b5ed94cb54ac2e2971fad161e925f21e15354d..5b195d5051d630593a6502347590bd1bdb282279 100644
(file)
--- a/
drivers/net/ethernet/stmicro/stmmac/stmmac.h
+++ b/
drivers/net/ethernet/stmicro/stmmac/stmmac.h
@@
-194,7
+194,6
@@
struct stmmac_priv {
u32 tx_coal_timer[MTL_MAX_TX_QUEUES];
u32 rx_coal_frames[MTL_MAX_TX_QUEUES];
- int tx_coalesce;
int hwts_tx_en;
bool tx_path_in_lpi_mode;
bool tso;
@@
-229,7
+228,6
@@
struct stmmac_priv {
unsigned int flow_ctrl;
unsigned int pause;
struct mii_bus *mii;
- int mii_irq[PHY_MAX_ADDR];
struct phylink_config phylink_config;
struct phylink *phylink;