summaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2023-08-21 21:02:18 +0800
committerJakub Kicinski <kuba@kernel.org>2023-08-22 10:29:15 -0700
commit49e62a0462a2d669e35f97eb3e0a6f2aab20518d (patch)
tree85a3db704295e53ca8e621aa9973a2a22a5e8259 /include/soc
parent73582f090f053ffdd168f6c2b42b18c67906d120 (diff)
downloadlinux-49e62a0462a2d669e35f97eb3e0a6f2aab20518d.tar.gz
linux-49e62a0462a2d669e35f97eb3e0a6f2aab20518d.tar.bz2
linux-49e62a0462a2d669e35f97eb3e0a6f2aab20518d.zip
net: mscc: ocelot: Remove unused declarations
Commit 6c30384eb1de ("net: mscc: ocelot: register devlink ports") declared but never implemented ocelot_devlink_init() and ocelot_devlink_teardown(). Commit 2096805497e2 ("net: mscc: ocelot: automatically detect VCAP constants") declared but never implemented ocelot_detect_vcap_constants(). Commit 403ffc2c34de ("net: mscc: ocelot: add support for preemptible traffic classes") declared but never implemented ocelot_port_update_preemptible_tcs(). Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Link: https://lore.kernel.org/r/20230821130218.19096-1-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/mscc/ocelot.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/soc/mscc/ocelot.h b/include/soc/mscc/ocelot.h
index a8c2817335b9..1e1b40f4e664 100644
--- a/include/soc/mscc/ocelot.h
+++ b/include/soc/mscc/ocelot.h
@@ -1165,7 +1165,6 @@ int ocelot_port_get_mm(struct ocelot *ocelot, int port,
struct ethtool_mm_state *state);
int ocelot_port_mqprio(struct ocelot *ocelot, int port,
struct tc_mqprio_qopt_offload *mqprio);
-void ocelot_port_update_preemptible_tcs(struct ocelot *ocelot, int port);
#if IS_ENABLED(CONFIG_BRIDGE_MRP)
int ocelot_mrp_add(struct ocelot *ocelot, int port,