Skip to content

Commit c6c65d4

Browse files
vladimirolteankuba-moo
authored andcommitted
net: mscc: ocelot: delete unused ocelot_set_cpu_port prototype
This is a leftover of commit 69df578 ("net: mscc: ocelot: eliminate confusion between CPU and NPI port") which renamed that function. Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 70d39a6 commit c6c65d4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/ethernet/mscc/ocelot.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,6 @@ void ocelot_port_writel(struct ocelot_port *port, u32 val, u32 reg);
122122
int ocelot_probe_port(struct ocelot *ocelot, int port, struct regmap *target,
123123
struct phy_device *phy);
124124

125-
void ocelot_set_cpu_port(struct ocelot *ocelot, int cpu,
126-
enum ocelot_tag_prefix injection,
127-
enum ocelot_tag_prefix extraction);
128-
129125
extern struct notifier_block ocelot_netdevice_nb;
130126
extern struct notifier_block ocelot_switchdev_nb;
131127
extern struct notifier_block ocelot_switchdev_blocking_nb;

0 commit comments

Comments
 (0)