net: mscc: ocelot: Remove unused declarations
authorYue Haibing <yuehaibing@huawei.com>
Mon, 21 Aug 2023 13:02:18 +0000 (21:02 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 22 Aug 2023 17:29:15 +0000 (10:29 -0700)
commit49e62a0462a2d669e35f97eb3e0a6f2aab20518d
tree85a3db704295e53ca8e621aa9973a2a22a5e8259
parent73582f090f053ffdd168f6c2b42b18c67906d120
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>
drivers/net/ethernet/mscc/ocelot.h
drivers/net/ethernet/mscc/ocelot_vcap.h
include/soc/mscc/ocelot.h