Searched hist:a25cc43e (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/phy/ |
H A D | bcm63xx.c | a25cc43e Mon Apr 02 01:24:55 CDT 2012 Srinivas Kandagatla <srinivas.kandagatla@st.com> net:phy:bcm63xx: remove unnecessary code
Compile tested. remove unnecessary code that matches this coccinelle pattern
ret = phy_write(x, y , z) if (ret < 0) return ret; return 0;
As phy_write returns error code, we dont need to do not need extra check before returning.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com> Signed-off-by: David S. Miller <davem@davemloft.net> a25cc43e Mon Apr 02 01:24:55 CDT 2012 Srinivas Kandagatla <srinivas.kandagatla@st.com> net:phy:bcm63xx: remove unnecessary code Compile tested. remove unnecessary code that matches this coccinelle pattern ret = phy_write(x, y , z) if (ret < 0) return ret; return 0; As phy_write returns error code, we dont need to do not need extra check before returning. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|