kernel-ark/drivers/pci
Adrian Bunk 1305e9184a [PATCH] PCI: cpqphp_ctrl.c: board_replaced(): remove dead code
The Coverity checker correctly noted, that in function board_replaced in
drivers/pci/hotplug/cpqphp_ctrl.c, the variable src always has the
value 8, and therefore much code after the

...
                        if (rc || src) {
...
                                if (rc)
                                        return rc;
                                else
                                        return 1;
                        }
...

can never be called.

This patch removes the unreachable code in this function fixing kernel
Bugzilla #6073.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-03-23 14:35:16 -08:00
..
hotplug [PATCH] PCI: cpqphp_ctrl.c: board_replaced(): remove dead code 2006-03-23 14:35:16 -08:00
pcie [PATCH] PCI: remove msi save/restore code in specific driver 2006-03-23 14:35:14 -08:00
.gitignore
access.c
bus.c
hotplug.c
Kconfig
Makefile
msi.c [PATCH] PCI: fix problems with MSI-X on ia64 2006-03-23 14:35:14 -08:00
msi.h
pci-acpi.c
pci-driver.c [PATCH] PCI: Add pci_device_shutdown to pci_bus_type 2006-03-23 14:35:13 -08:00
pci-sysfs.c
pci.c
pci.h
probe.c [PATCH] PCI: PCI/Cardbus cards hidden, needs pci=assign-busses to fix 2006-03-23 14:35:14 -08:00
proc.c
quirks.c [PATCH] PCI: make MSI quirk inheritable from the pci bus 2006-03-23 14:35:14 -08:00
remove.c
rom.c
search.c [PATCH] PCI: Move pci_dev_put outside a spinlock 2006-03-23 14:35:14 -08:00
setup-bus.c
setup-irq.c
setup-res.c
syscall.c