Driver: remove redundant kobject_unregister checks
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Wed, 14 Feb 2007 20:03:39 +0000 (21:03 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Feb 2007 23:19:17 +0000 (15:19 -0800)
commitb92be9f1ecd3c8b16e9bb22d55bb97b3d89f091a
tree6f5b561fd2268214d3b511f6dc8e0c1a598f24b7
parent1350770112bd9bd5696cb52deb712370012d80e0
Driver: remove redundant kobject_unregister checks

Here is a patch that removes all redundant kobject_unregister argument checks.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c
fs/partitions/check.c
kernel/module.c