[PATCH net-next 02/11] net: mscc: ocelot: unexport ocelot_probe_port

From
Vladimir Oltean <olteanv@gmail.com>
Date
2020-05-27 23:41:35
Reply to
Vladimir Oltean, 2020-05-27
From: Vladimir Oltean <vladimir.oltean@nxp.com>

This is not being used by any other module except ocelot (i.e. felix
does not use it). So remove the EXPORT_SYMBOL.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
---
 drivers/net/ethernet/mscc/ocelot.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/mscc/ocelot.c b/drivers/net/ethernet/mscc/ocelot.c
index e621c4c3ee86..ff875c2f1d46 100644
--- a/drivers/net/ethernet/mscc/ocelot.c
+++ b/drivers/net/ethernet/mscc/ocelot.c
@@ -2152,7 +2152,6 @@ int ocelot_probe_port(struct ocelot *ocelot, u8 port,
 
 	return err;
 }
-EXPORT_SYMBOL(ocelot_probe_port);
 
 /* Configure and enable the CPU port module, which is a set of queues.
  * If @npi contains a valid port index, the CPU port module is connected
-- 
2.25.1
Thread (31 messages) 31 messages, 5 authors, last reply 2020-05-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help