]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI Hotplug: cpqhp_pushbutton_thread(): remove a pointless if() check
authorAdrian Bunk <bunk@kernel.org>
Wed, 24 Oct 2007 16:25:00 +0000 (18:25 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Nov 2007 21:35:17 +0000 (13:35 -0800)
commit00395410885cac96015850426bf697423a3ec9dc
tree74103fb4036fb5d31e5a331d08c7b8d126f793a7
parentd73460d79bc88de74221d73723ed61a0081b7a36
PCI Hotplug: cpqhp_pushbutton_thread(): remove a pointless if() check

The Coverity checker spotted that we'd have already oops'ed if "ctrl"
was NULL.

Additionally, "func" had just been checked for not being NULL.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/cpqphp_ctrl.c