diff options
author | Srinivas Kandagatla <srinivas.kandagatla@st.com> | 2012-04-02 06:25:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-03 19:02:00 -0400 |
commit | cc90cb3b2429a0f0681331fa5c501f91eee4f633 (patch) | |
tree | 72389fd02882c4fcb2bd1e83273f818b91d89e33 /Documentation/parisc | |
parent | 8bc47ec6efd4d447f3502d9f9d41fe440cd5854d (diff) | |
download | op-kernel-dev-cc90cb3b2429a0f0681331fa5c501f91eee4f633.zip op-kernel-dev-cc90cb3b2429a0f0681331fa5c501f91eee4f633.tar.gz |
net:phy:marvell: 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>
Diffstat (limited to 'Documentation/parisc')
0 files changed, 0 insertions, 0 deletions