Tag: cc90cb3b2429a0f0681331fa5c501f91eee4f633

net:phy:marvell: 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/marvell.c | 18 …

Continue reading