]> err.no Git - linux-2.6/commit
PCI: aerdrv_acpi.c: remove unneeded NULL check
authorAdrian Bunk <bunk@kernel.org>
Sun, 30 Mar 2008 22:41:01 +0000 (01:41 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Apr 2008 04:47:08 +0000 (21:47 -0700)
commitd75b305295c38ba9610ff3b2200f7d1989dc55fd
treedecbb41e866a7095be1575269f282009e7adc1f9
parentbc043274560f398225dad7f0e24c6a7610d3c08a
PCI: aerdrv_acpi.c: remove unneeded NULL check

There's no reason for checking pdev->bus for being NULL here (and we'd
anyway Oops 3 lines below if it was).

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