Skip to content

Commit de8a820

Browse files
xhackerustcdavem330
authored andcommitted
net: stmmac: remove unused members in struct stmmac_priv
The tx_coalesce and mii_irq are not used at all now, so remove them. Signed-off-by: Jisheng Zhang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ebe0582 commit de8a820

File tree

1 file changed

+0
-2
lines changed
  • drivers/net/ethernet/stmicro/stmmac

1 file changed

+0
-2
lines changed

drivers/net/ethernet/stmicro/stmmac/stmmac.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ struct stmmac_priv {
194194
u32 tx_coal_timer[MTL_MAX_TX_QUEUES];
195195
u32 rx_coal_frames[MTL_MAX_TX_QUEUES];
196196

197-
int tx_coalesce;
198197
int hwts_tx_en;
199198
bool tx_path_in_lpi_mode;
200199
bool tso;
@@ -229,7 +228,6 @@ struct stmmac_priv {
229228
unsigned int flow_ctrl;
230229
unsigned int pause;
231230
struct mii_bus *mii;
232-
int mii_irq[PHY_MAX_ADDR];
233231

234232
struct phylink_config phylink_config;
235233
struct phylink *phylink;

0 commit comments

Comments
 (0)