checkpatch: usb_free_urb() can take NULL
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Jul 2008 04:29:04 +0000 (21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:26 +0000 (10:47 -0700)
commit4c432a8f0134504814aa8dcce6cc57c89d175604
treeebc15ff444ec24098c18ec6c0210ea33333f40d3
parentf5fe35dd95549b1b419cdeb2ec3fe61fda94fa93
checkpatch: usb_free_urb() can take NULL

usb_free_urb() can take a NULL, so let's check and warn about that.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl