diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-01-15 05:11:17 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-16 07:02:34 +0300 |
commit | c6c65d47ddebe82cf32f98ea56f10daf82dab16c (patch) | |
tree | 7927d52e78c52d91304de4eb0daf977650baf49e | |
parent | 70d39a6e62d31a4a7372a712ccc6f8063bbb1550 (diff) | |
download | linux-c6c65d47ddebe82cf32f98ea56f10daf82dab16c.tar.xz |
net: mscc: ocelot: delete unused ocelot_set_cpu_port prototype
This is a leftover of commit 69df578c5f4b ("net: mscc: ocelot: eliminate
confusion between CPU and NPI port") which renamed that function.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | drivers/net/ethernet/mscc/ocelot.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/mscc/ocelot.h b/drivers/net/ethernet/mscc/ocelot.h index 291d39d49c4e..519335676c24 100644 --- a/drivers/net/ethernet/mscc/ocelot.h +++ b/drivers/net/ethernet/mscc/ocelot.h @@ -122,10 +122,6 @@ void ocelot_port_writel(struct ocelot_port *port, u32 val, u32 reg); int ocelot_probe_port(struct ocelot *ocelot, int port, struct regmap *target, struct phy_device *phy); -void ocelot_set_cpu_port(struct ocelot *ocelot, int cpu, - enum ocelot_tag_prefix injection, - enum ocelot_tag_prefix extraction); - extern struct notifier_block ocelot_netdevice_nb; extern struct notifier_block ocelot_switchdev_nb; extern struct notifier_block ocelot_switchdev_blocking_nb; |