[PATCH] Driver core: small cleanup; remove check for NULL before kfree() in driver...
authorJesper Juhl <jesper.juhl@gmail.com>
Wed, 17 Aug 2005 20:06:34 +0000 (22:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 23:03:13 +0000 (16:03 -0700)
commitfef6ec8dd96205fb22e3cfe2e4abd69d89413631
tree8c38a91106351c8af46916d73898c79f741f8654
parentceaeade1f94c0a1c0163906ceeaede6493a9715e
[PATCH] Driver core: small cleanup; remove check for NULL before kfree() in driver core

Remove needless checking of variable for NULL before calling kfree() on it.
Applies to 2.6.13-rc6-git9

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c