summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/realtek
diff options
context:
space:
mode:
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>2024-02-09 08:03:37 +0300
committerDavid S. Miller <davem@davemloft.net>2024-02-12 13:42:16 +0300
commit33f4336cbd32c21717b60d013693a0bd51a27db6 (patch)
tree19c54568f487f44026059e4674118b8782c118e3 /drivers/net/dsa/realtek
parent0918c1dcd55cfe3b8f9844731dc68eee948c9f92 (diff)
downloadlinux-33f4336cbd32c21717b60d013693a0bd51a27db6.tar.xz
net: dsa: realtek: drop cleanup from realtek_ops
It was never used and never referenced. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/realtek')
-rw-r--r--drivers/net/dsa/realtek/realtek.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/realtek/realtek.h b/drivers/net/dsa/realtek/realtek.h
index 790488e9c667..e9ee778665b2 100644
--- a/drivers/net/dsa/realtek/realtek.h
+++ b/drivers/net/dsa/realtek/realtek.h
@@ -91,7 +91,6 @@ struct realtek_ops {
int (*detect)(struct realtek_priv *priv);
int (*reset_chip)(struct realtek_priv *priv);
int (*setup)(struct realtek_priv *priv);
- void (*cleanup)(struct realtek_priv *priv);
int (*get_mib_counter)(struct realtek_priv *priv,
int port,
struct rtl8366_mib_counter *mib,