Skip to content

Commit

Permalink
net: stmmac: remove unused members in struct stmmac_priv
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jisheng Zhang authored and David S. Miller committed Jan 24, 2022
1 parent ebe0582 commit de8a820
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ethernet/stmicro/stmmac/stmmac.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit de8a820

Please sign in to comment.