diff options
author | 2023-07-18 17:09:28 +0800 | |
---|---|---|
committer | 2023-07-19 20:59:16 -0700 | |
commit | 636a5e88233a1a95dcb368d340fd04658d548d5f (patch) | |
tree | 27685c1a130dd698a3be9d3184a74425da15f361 /drivers/net/ethernet/freescale | |
parent | net: fec: remove fec_set_mac_address() from fec_enet_init() (diff) | |
download | linux-636a5e88233a1a95dcb368d340fd04658d548d5f.tar.gz linux-636a5e88233a1a95dcb368d340fd04658d548d5f.tar.bz2 linux-636a5e88233a1a95dcb368d340fd04658d548d5f.zip |
net: fec: remove unused members from struct fec_enet_private
Three members of struct fec_enet_private have not been used since
they were first introduced into the FEC driver (commit 6605b730c061
("FEC: Add time stamping code and a PTP hardware clock")). Namely,
last_overflow_check, rx_hwtstamp_filter and base_incval. These
unused members make the struct fec_enet_private a bit messy and
might confuse the readers. There is no reason to keep them in the
FEC driver any longer.
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Link: https://lore.kernel.org/r/20230718090928.2654347-4-wei.fang@nxp.com
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r-- | drivers/net/ethernet/freescale/fec.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/freescale/fec.h b/drivers/net/ethernet/freescale/fec.h index 81c9a07387c4..8f1edcca96c4 100644 --- a/drivers/net/ethernet/freescale/fec.h +++ b/drivers/net/ethernet/freescale/fec.h @@ -651,12 +651,9 @@ struct fec_enet_private { struct ptp_clock *ptp_clock; struct ptp_clock_info ptp_caps; - unsigned long last_overflow_check; spinlock_t tmreg_lock; struct cyclecounter cc; struct timecounter tc; - int rx_hwtstamp_filter; - u32 base_incval; u32 cycle_speed; int hwts_rx_en; int hwts_tx_en; |