drivers/usb/misc/auerswald: fix status check, remove redundant check
authorJeff Garzik <jeff@garzik.org>
Tue, 17 Jul 2007 05:08:29 +0000 (01:08 -0400)
committerJeff Garzik <jeff@garzik.org>
Tue, 17 Jul 2007 20:18:00 +0000 (16:18 -0400)
commitae97fec3701a559929c3529e35417fab133a4d39
tree3eddac64147a077f5f312e24ddc801b074ac2285
parentcad1b9da74f14c5f15b63ffc93c53debe09b3781
drivers/usb/misc/auerswald: fix status check, remove redundant check

1) We should only set 'actual_length' output variable if usb length is
known to be good.

2) No need to check actual_length for NULL.  The only caller always
passes non-NULL value.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/usb/misc/auerswald.c