mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
net/{mii, smsc}: Make mii_ethtool_get_link_ksettings and smc_netdev_get_ecmd return void
Make return value void since functions never returns meaningfull value. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c7c6b8715a
commit
82c01a84d5
29 changed files with 78 additions and 73 deletions
|
@ -3835,7 +3835,7 @@ int rtl8152_get_link_ksettings(struct net_device *netdev,
|
|||
|
||||
mutex_lock(&tp->control);
|
||||
|
||||
ret = mii_ethtool_get_link_ksettings(&tp->mii, cmd);
|
||||
mii_ethtool_get_link_ksettings(&tp->mii, cmd);
|
||||
|
||||
mutex_unlock(&tp->control);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue