summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip/ksz8.h
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2024-04-03 14:50:32 +0200
committerJakub Kicinski <kuba@kernel.org>2024-04-05 04:08:42 +0200
commita4a0306fbe1c8ceee206d099c0a86bdd8f9278ee (patch)
tree05951d66d6cf8d2cf4c5e6eceb9185bbc634cbdf /drivers/net/dsa/microchip/ksz8.h
parentMerge branch 'add-starfive-jh8100-dwmac-support' (diff)
downloadlinux-a4a0306fbe1c8ceee206d099c0a86bdd8f9278ee.tar.xz
linux-a4a0306fbe1c8ceee206d099c0a86bdd8f9278ee.zip
net: dsa: microchip: Remove unused FDB timestamp support in ksz8_r_dyn_mac_table()
The FDB timestamps are not being utilized. This commit removes the unused timestamp support from ksz8_r_dyn_mac_table() function. Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Acked-by: Arun Ramadoss <arun.ramadoss@microchip.com> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://lore.kernel.org/r/20240403125039.3414824-2-o.rempel@pengutronix.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz8.h')
-rw-r--r--drivers/net/dsa/microchip/ksz8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/microchip/ksz8.h b/drivers/net/dsa/microchip/ksz8.h
index 1a5225264e6a..5b38cbb7b058 100644
--- a/drivers/net/dsa/microchip/ksz8.h
+++ b/drivers/net/dsa/microchip/ksz8.h
@@ -20,7 +20,7 @@ void ksz8_port_setup(struct ksz_device *dev, int port, bool cpu_port);
int ksz8_r_phy(struct ksz_device *dev, u16 phy, u16 reg, u16 *val);
int ksz8_w_phy(struct ksz_device *dev, u16 phy, u16 reg, u16 val);
int ksz8_r_dyn_mac_table(struct ksz_device *dev, u16 addr, u8 *mac_addr,
- u8 *fid, u8 *src_port, u8 *timestamp, u16 *entries);
+ u8 *fid, u8 *src_port, u16 *entries);
void ksz8_r_mib_cnt(struct ksz_device *dev, int port, u16 addr, u64 *cnt);
void ksz8_r_mib_pkt(struct ksz_device *dev, int port, u16 addr,
u64 *dropped, u64 *cnt);