Tag: a25cc43ebb9cdf1cd9623fcdf5009e0a72288f69

net:phy:bcm63xx: remove unnecessary code

Author: Srinivas Kandagatla <srinivas.kandagatla@st.com> 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 Signed-off-by: David S. Miller --- drivers/net/phy/bcm63xx.c | 5 …

Continue reading