summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/smsc/smc91x.c
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@toblux.com>2024-05-28 18:00:37 +0200
committerJakub Kicinski <kuba@kernel.org>2024-05-30 03:42:22 +0200
commitc53a46b16ce2605181688ea6af5f6c8d7fb3c9c1 (patch)
tree8420ef4a1e71c0e74b5fcad5ffb3263e34356811 /drivers/net/ethernet/smsc/smc91x.c
parentnet: dsa: felix: provide own phylink MAC operations (diff)
downloadlinux-c53a46b16ce2605181688ea6af5f6c8d7fb3c9c1.tar.xz
linux-c53a46b16ce2605181688ea6af5f6c8d7fb3c9c1.zip
net: smc91x: Remove commented out code
Remove commented out code Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Link: https://lore.kernel.org/r/20240528160036.404946-2-thorsten.blum@toblux.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/smsc/smc91x.c')
-rw-r--r--drivers/net/ethernet/smsc/smc91x.c4
1 files changed, 0 insertions, 4 deletions
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;
}