|
@@ -123,12 +123,8 @@ static int dp83867_of_init(struct phy_device *phydev)
|
|
|
if (ret)
|
|
if (ret)
|
|
|
return ret;
|
|
return ret;
|
|
|
|
|
|
|
|
- ret = of_property_read_u32(of_node, "ti,fifo-depth",
|
|
|
|
|
|
|
+ return of_property_read_u32(of_node, "ti,fifo-depth",
|
|
|
&dp83867->fifo_depth);
|
|
&dp83867->fifo_depth);
|
|
|
- if (ret)
|
|
|
|
|
- return ret;
|
|
|
|
|
-
|
|
|
|
|
- return 0;
|
|
|
|
|
}
|
|
}
|
|
|
#else
|
|
#else
|
|
|
static int dp83867_of_init(struct phy_device *phydev)
|
|
static int dp83867_of_init(struct phy_device *phydev)
|