git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a25cc43
)
net:phy:davicom: remove unnecessary code
author
Srinivas Kandagatla
<srinivas.kandagatla@st.com>
Mon, 2 Apr 2012 06:25:11 +0000
(06:25 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 3 Apr 2012 23:02:00 +0000
(19:02 -0400)
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>
No differences found