summaryrefslogtreecommitdiff
path: root/include/linux/pcs-lynx.h
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-06-07 12:58:24 +0100
committerJakub Kicinski <kuba@kernel.org>2023-06-08 19:19:50 -0700
commitb3b984dc0ba60ce4787f661d8fc7f44e8953b51d (patch)
tree55e913991e9d57ef8b4e0cdd00a1fb9141a9668b /include/linux/pcs-lynx.h
parentd7b6ea1a14e454ae480274a68daed9136409376f (diff)
net: pcs: lynx: remove lynx_get_mdio_device()
lynx_get_mdio_device() is no longer necessary, let's remove it so the lynx PCS code is always managing the lifetime of the mdiodev. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/pcs-lynx.h')
-rw-r--r--include/linux/pcs-lynx.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pcs-lynx.h b/include/linux/pcs-lynx.h
index 885b59d10581..25f68a096bfe 100644
--- a/include/linux/pcs-lynx.h
+++ b/include/linux/pcs-lynx.h
@@ -9,8 +9,6 @@
#include <linux/mdio.h>
#include <linux/phylink.h>
-struct mdio_device *lynx_get_mdio_device(struct phylink_pcs *pcs);
-
struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio);
struct phylink_pcs *lynx_pcs_create_mdiodev(struct mii_bus *bus, int addr);