net: icplus: remove unnecessary code

Compile tested.
remove unnecessary code that matches this coccinelle pattern
	if (...)
		return ret;
	return ret;

Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
This commit is contained in:
Greg Dietsche 2011-06-16 07:04:30 +00:00 committed by David S. Miller
parent cb0a605649
commit 0a3f084179
1 changed files with 1 additions and 5 deletions

View File

@ -109,11 +109,7 @@ static int ip1001_config_init(struct phy_device *phydev)
value = phy_read(phydev, 16);
value |= 0x3;
err = phy_write(phydev, 16, value);
if (err < 0)
return err;
return err;
return phy_write(phydev, 16, value);
}
static int ip175c_read_status(struct phy_device *phydev)