diff options
author | Pavel Skripkin <paskripkin@gmail.com> | 2021-08-18 18:07:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-19 13:06:53 +0100 |
commit | 2274af1d60fee3fe35f341fc5d4dbf99ab78fb2f (patch) | |
tree | 87aa91869ca4733514fa73638fc91d8da2618b39 /include/linux/mii.h | |
parent | 9fcfd0888cb71da4dbe666b4100e1b2d56d2f0b9 (diff) |
net: mii: make mii_ethtool_gset() return void
mii_ethtool_gset() does not return any errors. Since there are no users
of this function that rely on its return value, it can be
made void.
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mii.h')
-rw-r--r-- | include/linux/mii.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mii.h b/include/linux/mii.h index 219b93cad1dd..12ea29e04293 100644 --- a/include/linux/mii.h +++ b/include/linux/mii.h @@ -32,7 +32,7 @@ struct mii_if_info { extern int mii_link_ok (struct mii_if_info *mii); extern int mii_nway_restart (struct mii_if_info *mii); -extern int mii_ethtool_gset(struct mii_if_info *mii, struct ethtool_cmd *ecmd); +extern void mii_ethtool_gset(struct mii_if_info *mii, struct ethtool_cmd *ecmd); extern void mii_ethtool_get_link_ksettings( struct mii_if_info *mii, struct ethtool_link_ksettings *cmd); extern int mii_ethtool_sset(struct mii_if_info *mii, struct ethtool_cmd *ecmd); |