commit | 8bc47ec6efd4d447f3502d9f9d41fe440cd5854d | [log] [tgz] |
---|---|---|
author | Srinivas Kandagatla <srinivas.kandagatla@st.com> | Mon Apr 02 06:25:11 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 03 19:02:00 2012 -0400 |
tree | dd55998070d2e8b482fb09dd239d392b01016d5c | |
parent | a25cc43ebb9cdf1cd9623fcdf5009e0a72288f69 [diff] |
net:phy:davicom: 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>