Message ID | 20240528160036.404946-2-thorsten.blum@toblux.com (mailing list archive) |
---|---|
State | Accepted |
Commit | c53a46b16ce2605181688ea6af5f6c8d7fb3c9c1 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] net: smc91x: Remove commented out code | expand |
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Tue, 28 May 2024 18:00:37 +0200 you wrote: > Remove commented out code > > Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> > --- > drivers/net/ethernet/smsc/smc91x.c | 4 ---- > 1 file changed, 4 deletions(-) Here is the summary with links: - [net-next] net: smc91x: Remove commented out code https://git.kernel.org/netdev/net-next/c/c53a46b16ce2 You are awesome, thank you!
diff --git a/drivers/net/ethernet/smsc/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c index 78ff3af7911a..907498848028 100644 --- a/drivers/net/ethernet/smsc/smc91x.c +++ b/drivers/net/ethernet/smsc/smc91x.c @@ -1574,12 +1574,8 @@ smc_ethtool_set_link_ksettings(struct net_device *dev, (cmd->base.port != PORT_TP && cmd->base.port != PORT_AUI)) return -EINVAL; -// lp->port = cmd->base.port; lp->ctl_rfduplx = cmd->base.duplex == DUPLEX_FULL; -// if (netif_running(dev)) -// smc_set_port(dev); - ret = 0; }
Remove commented out code Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> --- drivers/net/ethernet/smsc/smc91x.c | 4 ---- 1 file changed, 4 deletions(-)