[PATCH] driver core: fix unnecessary NULL check in drivers/base/class.c
authorJayachandran C <jchandra@digeo.com>
Mon, 3 Apr 2006 19:31:53 +0000 (12:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Apr 2006 18:41:24 +0000 (11:41 -0700)
commita14388904ca67197c9a531dba2358d8131697865
treefc4b31f3588e2f0b308c84e905ce9af7faea443e
parentd4d7e5dffc4844ef51fe11f497bd774c04413a00
[PATCH] driver core: fix unnecessary NULL check in drivers/base/class.c

This patch tries to fix an issue in drivers/base/class.c, please
review and apply if correct.

Patch Description:
  "parent_class" is checked for NULL already, so removed the unnecessary
  check.

Signed-off-by: Jayachandran C. <c.jayachandran@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c