Commit 0a3f0841 authored by Greg Dietsche's avatar Greg Dietsche Committed by David S. Miller

net: icplus: remove unnecessary code

Compile tested.
remove unnecessary code that matches this coccinelle pattern
	if (...)
		return ret;
	return ret;
Signed-off-by: default avatarGreg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: default avatarDavid S. Miller <davem@conan.davemloft.net>
parent cb0a6056
...@@ -109,11 +109,7 @@ static int ip1001_config_init(struct phy_device *phydev) ...@@ -109,11 +109,7 @@ static int ip1001_config_init(struct phy_device *phydev)
value = phy_read(phydev, 16); value = phy_read(phydev, 16);
value |= 0x3; value |= 0x3;
err = phy_write(phydev, 16, value); return phy_write(phydev, 16, value);
if (err < 0)
return err;
return err;
} }
static int ip175c_read_status(struct phy_device *phydev) static int ip175c_read_status(struct phy_device *phydev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment