From: Alexander Duyck <hidden> Date: 2025-03-19 17:46:27
From: Alexander Duyck <alexanderduyck@fb.com>
From what I can tell the get_fixed_state pointer in the phylink structure
hasn't been used since commit <5c05c1dbb177> ("net: phylink, dsa: eliminate
phylink_fixed_state_cb()") . Since I can't find any users for it we might
as well just drop the pointer.
Fixes: 5c05c1dbb177 ("net: phylink, dsa: eliminate phylink_fixed_state_cb()")
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
---
drivers/net/phy/phylink.c | 2 --
1 file changed, 2 deletions(-)
From: "Keller, Jacob E" <jacob.e.keller@intel.com> Date: 2025-03-19 19:08:40
-----Original Message-----
From: Alexander Duyck <redacted>
Sent: Wednesday, March 19, 2025 10:46 AM
To: netdev@vger.kernel.org
Cc: linux@armlinux.org.uk; andrew@lunn.ch; hkallweit1@gmail.com;
davem@davemloft.net; kuba@kernel.org; pabeni@redhat.com
Subject: [net-next PATCH] net: phylink: Remove unused function pointer from
phylink structure
From: Alexander Duyck <alexanderduyck@fb.com>
From what I can tell the get_fixed_state pointer in the phylink structure
hasn't been used since commit <5c05c1dbb177> ("net: phylink, dsa: eliminate
phylink_fixed_state_cb()") . Since I can't find any users for it we might
as well just drop the pointer.
Fixes: 5c05c1dbb177 ("net: phylink, dsa: eliminate phylink_fixed_state_cb()")
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
---
drivers/net/phy/phylink.c | 2 --
1 file changed, 2 deletions(-)
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
From: "Russell King (Oracle)" <linux@armlinux.org.uk> Date: 2025-03-19 19:34:07
On Wed, Mar 19, 2025 at 10:46:25AM -0700, Alexander Duyck wrote:
From: Alexander Duyck <alexanderduyck@fb.com>
From what I can tell the get_fixed_state pointer in the phylink structure
hasn't been used since commit <5c05c1dbb177> ("net: phylink, dsa: eliminate
phylink_fixed_state_cb()") . Since I can't find any users for it we might
as well just drop the pointer.
Fixes: 5c05c1dbb177 ("net: phylink, dsa: eliminate phylink_fixed_state_cb()")
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Reviewed-by: Russell King (Oracle) <redacted>
Thanks!
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:
On Wed, 19 Mar 2025 10:46:25 -0700 you wrote:
From: Alexander Duyck <alexanderduyck@fb.com>
From what I can tell the get_fixed_state pointer in the phylink structure
hasn't been used since commit <5c05c1dbb177> ("net: phylink, dsa: eliminate
phylink_fixed_state_cb()") . Since I can't find any users for it we might
as well just drop the pointer.
[...]