net: smc91x: Remove commented out code
authorThorsten Blum <thorsten.blum@toblux.com>
Tue, 28 May 2024 16:00:37 +0000 (18:00 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 May 2024 01:42:22 +0000 (18:42 -0700)
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>
drivers/net/ethernet/smsc/smc91x.c

index 78ff3af..9074988 100644 (file)
@@ -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;
        }