net: pch_gbe: remove mii_ethtool_gset() error handling
authorPavel Skripkin <paskripkin@gmail.com>
Wed, 18 Aug 2021 15:06:30 +0000 (18:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2021 12:06:53 +0000 (13:06 +0100)
commit9fcfd0888cb71da4dbe666b4100e1b2d56d2f0b9
tree8ec548d185143a493d9fd914cd6fb84539653134
parenta27919433b44c8ab657e6ed214dad4ed9a66b8fa
net: pch_gbe: remove mii_ethtool_gset() error handling

mii_ethtool_gset() does not return any errors, so error handling can be
omitted to make code more simple.

Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c