summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/mediabay.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>2012-04-02 06:24:55 +0000
committerDavid S. Miller <davem@davemloft.net>2012-04-03 19:02:00 -0400
commita25cc43ebb9cdf1cd9623fcdf5009e0a72288f69 (patch)
treec8b51b3e7890a6da78aa72a3114f2e6cf04f935c /drivers/macintosh/mediabay.c
parent99427747fbd0b29f2bebc74c697acfd435fecc3f (diff)
net:phy:bcm63xx: 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 'drivers/macintosh/mediabay.c')
0 files changed, 0 insertions, 0 deletions