Skip to content

Commit

Permalink
net: smc91x: Remove commented out code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thorsten Blum authored and Jakub Kicinski committed May 30, 2024
1 parent ef0e51d commit c53a46b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/net/ethernet/smsc/smc91x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c53a46b

Please sign in to comment.