kernel-ark/drivers/pci/hotplug
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
..
acpiphp_core.c [PATCH] acpiphp - slot management fix - V4 2006-03-23 14:35:15 -08:00
acpiphp_dock.c [PATCH] acpiphp: add dock event handling 2006-03-23 14:35:15 -08:00
acpiphp_glue.c [PATCH] acpiphp: fix bridge handle 2006-03-23 14:35:15 -08:00
acpiphp_ibm.c [PATCH] PCI Hotplug: fix up coding style issues 2006-01-31 18:00:11 -08:00
acpiphp.h [PATCH] acpiphp - slot management fix - V4 2006-03-23 14:35:15 -08:00
cpci_hotplug_core.c
cpci_hotplug_pci.c
cpci_hotplug.h
cpcihp_generic.c
cpcihp_zt5550.c
cpcihp_zt5550.h
cpqphp_core.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
cpqphp_ctrl.c [PATCH] PCI: cpqphp_ctrl.c: board_replaced(): remove dead code 2006-03-23 14:35:16 -08:00
cpqphp_nvram.c
cpqphp_nvram.h
cpqphp_pci.c
cpqphp_sysfs.c [PATCH] PCI Hotplug: fix up the sysfs file in the compaq pci hotplug driver 2006-01-09 12:13:20 -08:00
cpqphp.h [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
fakephp.c
ibmphp_core.c [PATCH] PCI Hotplug: fix up coding style issues 2006-01-31 18:00:11 -08:00
ibmphp_ebda.c
ibmphp_hpc.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
ibmphp_pci.c
ibmphp_res.c
ibmphp.h
Kconfig [PATCH] PCI Hotplug: fix up Kconfig help text 2006-01-31 18:00:11 -08:00
Makefile [PATCH] acpiphp: add dock event handling 2006-03-23 14:35:15 -08:00
pci_hotplug_core.c
pci_hotplug.h
pciehp_core.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
pciehp_ctrl.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
pciehp_hpc.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
pciehp_pci.c [PATCH] pciehp: allow bridged card hotplug 2006-01-09 12:13:18 -08:00
pciehp.h [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
pciehprm_acpi.c [PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/pciehprm_acpi.c 2006-01-09 12:13:20 -08:00
pciehprm_nonacpi.c
pcihp_skeleton.c [PATCH] pcihp_skeleton.c cleanup 2006-03-23 14:35:11 -08:00
rpadlpar_core.c [PATCH] powerpc/PCI hotplug: shuffle error checking to better location. 2006-01-31 18:00:13 -08:00
rpadlpar_sysfs.c
rpadlpar.h
rpaphp_core.c [PATCH] powerpc/PCI hotplug: minor cleanup forward decls 2006-01-31 18:00:13 -08:00
rpaphp_pci.c [PATCH] powerpc/PCI hotplug: cleanup: add prefix 2006-01-31 18:00:13 -08:00
rpaphp_slot.c [PATCH] PowerPC/PCI Hotplug build break 2006-02-01 16:35:29 -08:00
rpaphp.h [PATCH] powerpc/PCI hotplug: cleanup: add prefix 2006-01-31 18:00:13 -08:00
sgi_hotplug.c
shpchp_core.c [PATCH] shpchp: adapt to pci driver model 2006-03-23 14:35:13 -08:00
shpchp_ctrl.c [PATCH] shpchp: Fix slot state handling 2006-03-23 14:35:13 -08:00
shpchp_hpc.c [PATCH] shpchp: event handling rework 2006-03-23 14:35:13 -08:00
shpchp_pci.c [PATCH] shpchp: replace pci_find_slot() with pci_get_slot() 2006-01-09 12:13:16 -08:00
shpchp_sysfs.c
shpchp.h [PATCH] shpchp: adapt to pci driver model 2006-03-23 14:35:13 -08:00
shpchprm_acpi.c
shpchprm_legacy.c
shpchprm_nonacpi.c