summaryrefslogtreecommitdiffstats
path: root/drivers/net/macmace.c
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2007-07-03 00:46:42 +0200
committerJeff Garzik <jeff@garzik.org>2007-07-10 18:41:18 +0200
commit9514bfe5d92000a9fd6f3c44aa775819b5d78aaf (patch)
tree5fed048ae23f5f5501230637130271b954c61e01 /drivers/net/macmace.c
parentnetxen: deinline and sparse fix (diff)
downloadlinux-9514bfe5d92000a9fd6f3c44aa775819b5d78aaf.tar.xz
linux-9514bfe5d92000a9fd6f3c44aa775819b5d78aaf.zip
Cleanup usbnet_probe() return value handling
usbnet_probe() handles a positive return value from the driver bind() function as success, but will later only setup the status handler if the return value was zero, leading to confusion. Patch adjusts this to accept positive values as success in both checks. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/macmace.c')
0 files changed, 0 insertions, 0 deletions