summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-11-21 16:55:39 +0300
committerJakub Kicinski <kuba@kernel.org>2022-11-23 07:41:45 +0300
commitc5fb8ead3283955dc68671f853017b181f96fdc1 (patch)
treebcbd8e4c141f12e2efdbec77d8e6168f646fcae3 /include
parent815bc3ac75e9e34727f8ca78380266f34a3b6c66 (diff)
downloadlinux-c5fb8ead3283955dc68671f853017b181f96fdc1.tar.xz
net: dsa: unexport dsa_dev_to_net_device()
dsa.o and dsa2.o are linked into the same dsa_core.o, there is no reason to export this symbol when its only caller is local. 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>
Diffstat (limited to 'include')
-rw-r--r--include/net/dsa.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 82da44561f4c..d5bfcb63d4c2 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -1285,8 +1285,6 @@ struct dsa_switch_driver {
const struct dsa_switch_ops *ops;
};
-struct net_device *dsa_dev_to_net_device(struct device *dev);
-
bool dsa_fdb_present_in_other_db(struct dsa_switch *ds, int port,
const unsigned char *addr, u16 vid,
struct dsa_db db);