summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-12-17 04:25:43 +0100
committerDavid S. Miller <davem@davemloft.net>2010-12-23 19:21:12 +0100
commit0e214ad81545a35c5e62a4c2d6cf7275fd7a545f (patch)
tree8327c0394729760d43ba7ba1548d9afbfba9670c /include/net
parentirda: prevent integer underflow in IRLMP_ENUMDEVICES (diff)
downloadlinux-0e214ad81545a35c5e62a4c2d6cf7275fd7a545f.tar.xz
linux-0e214ad81545a35c5e62a4c2d6cf7275fd7a545f.zip
USB: mcs7830: return negative if auto negotiate fails
The original code returns 0 on success and 1 on failure. In fact, at this point, "ret" is already either zero or a negative error code so we can just return it directly. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions