Skip to content
Commit 1bc3c9e1 authored by Jesper Juhl's avatar Jesper Juhl Committed by Greg K-H
Browse files

[PATCH] USB: kfree cleanup for drivers/usb/* - no need to check for NULL



Get rid of a bunch of redundant NULL pointer checks in drivers/usb/*,
there's no need to check a pointer for NULL before calling kfree() on it.

Signed-off-by: default avatarJesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>


Index: gregkh-2.6/drivers/usb/class/audio.c
===================================================================
parent 6fd19f4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment