* [PATCH net-next] net: mscc: ocelot: Remove unused declarations
@ 2023-08-21 13:02 Yue Haibing
2023-08-21 13:08 ` Vladimir Oltean
2023-08-22 18:00 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Yue Haibing @ 2023-08-21 13:02 UTC (permalink / raw)
To: vladimir.oltean, claudiu.manoil, alexandre.belloni,
UNGLinuxDriver, davem, kuba, pabeni, yuehaibing, colin.foster
Cc: netdev
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>
---
drivers/net/ethernet/mscc/ocelot.h | 2 --
drivers/net/ethernet/mscc/ocelot_vcap.h | 1 -
include/soc/mscc/ocelot.h | 1 -
3 files changed, 4 deletions(-)
diff --git a/drivers/net/ethernet/mscc/ocelot.h b/drivers/net/ethernet/mscc/ocelot.h
index 87f2055c242c..e50be508c166 100644
--- a/drivers/net/ethernet/mscc/ocelot.h
+++ b/drivers/net/ethernet/mscc/ocelot.h
@@ -97,8 +97,6 @@ int ocelot_netdev_to_port(struct net_device *dev);
int ocelot_probe_port(struct ocelot *ocelot, int port, struct regmap *target,
struct device_node *portnp);
void ocelot_release_port(struct ocelot_port *ocelot_port);
-int ocelot_devlink_init(struct ocelot *ocelot);
-void ocelot_devlink_teardown(struct ocelot *ocelot);
int ocelot_port_devlink_init(struct ocelot *ocelot, int port,
enum devlink_port_flavour flavour);
void ocelot_port_devlink_teardown(struct ocelot *ocelot, int port);
diff --git a/drivers/net/ethernet/mscc/ocelot_vcap.h b/drivers/net/ethernet/mscc/ocelot_vcap.h
index 523611ccc48f..6f546695faa5 100644
--- a/drivers/net/ethernet/mscc/ocelot_vcap.h
+++ b/drivers/net/ethernet/mscc/ocelot_vcap.h
@@ -15,7 +15,6 @@
int ocelot_vcap_filter_stats_update(struct ocelot *ocelot,
struct ocelot_vcap_filter *rule);
-void ocelot_detect_vcap_constants(struct ocelot *ocelot);
int ocelot_vcap_init(struct ocelot *ocelot);
int ocelot_setup_tc_cls_flower(struct ocelot_port_private *priv,
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,
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: mscc: ocelot: Remove unused declarations
2023-08-21 13:02 [PATCH net-next] net: mscc: ocelot: Remove unused declarations Yue Haibing
@ 2023-08-21 13:08 ` Vladimir Oltean
2023-08-22 18:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Vladimir Oltean @ 2023-08-21 13:08 UTC (permalink / raw)
To: Yue Haibing
Cc: claudiu.manoil, alexandre.belloni, UNGLinuxDriver, davem, kuba,
pabeni, colin.foster, netdev
On Mon, Aug 21, 2023 at 09:02:18PM +0800, Yue Haibing wrote:
> 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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: mscc: ocelot: Remove unused declarations
2023-08-21 13:02 [PATCH net-next] net: mscc: ocelot: Remove unused declarations Yue Haibing
2023-08-21 13:08 ` Vladimir Oltean
@ 2023-08-22 18:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-08-22 18:00 UTC (permalink / raw)
To: Yue Haibing
Cc: vladimir.oltean, claudiu.manoil, alexandre.belloni,
UNGLinuxDriver, davem, kuba, pabeni, colin.foster, netdev
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 21 Aug 2023 21:02:18 +0800 you wrote:
> 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().
>
> [...]
Here is the summary with links:
- [net-next] net: mscc: ocelot: Remove unused declarations
https://git.kernel.org/netdev/net-next/c/49e62a0462a2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-22 18:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-21 13:02 [PATCH net-next] net: mscc: ocelot: Remove unused declarations Yue Haibing
2023-08-21 13:08 ` Vladimir Oltean
2023-08-22 18:00 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).