From: Yue Haibing Date: Sat, 5 Aug 2023 10:57:40 +0000 (+0800) Subject: net: sfp: Remove unused function declaration sfp_link_configure() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a6ab5c29b8d2039db885e26058ed8f8853e383ab;p=linux.git net: sfp: Remove unused function declaration sfp_link_configure() Commit ce0aa27ff3f6 ("sfp: add sfp-bus to bridge between network devices and sfp cages") declared but never implemented it. Signed-off-by: Yue Haibing Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/sfp.h b/drivers/net/phy/sfp.h index c7cb50d100999..1fd097dccb9fc 100644 --- a/drivers/net/phy/sfp.h +++ b/drivers/net/phy/sfp.h @@ -37,7 +37,6 @@ int sfp_module_insert(struct sfp_bus *bus, const struct sfp_eeprom_id *id, void sfp_module_remove(struct sfp_bus *bus); int sfp_module_start(struct sfp_bus *bus); void sfp_module_stop(struct sfp_bus *bus); -int sfp_link_configure(struct sfp_bus *bus, const struct sfp_eeprom_id *id); struct sfp_bus *sfp_register_socket(struct device *dev, struct sfp *sfp, const struct sfp_socket_ops *ops); void sfp_unregister_socket(struct sfp_bus *bus);