linux_dsm_epyc7002/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 [PATCH] PCI Hotplug: fix CPCI reference counting bug 2005-06-09 01:37:59 -07:00
cpci_hotplug_pci.c [PATCH] PCI Hotplug: fix CPCI reference counting bug 2005-06-09 01:37:59 -07:00
cpci_hotplug.h [PATCH] PCI Hotplug: CPCI update 2005-05-17 14:31:11 -07:00
cpcihp_generic.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
cpcihp_zt5550.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
cpcihp_zt5550.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_nvram.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_pci.c [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
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 [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
ibmphp_core.c [PATCH] PCI Hotplug: fix up coding style issues 2006-01-31 18:00:11 -08:00
ibmphp_ebda.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmphp_hpc.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
ibmphp_pci.c [PATCH] PCI Hotplug: ibmphp_pci.c copy-n-paste fix 2006-01-09 12:13:16 -08:00
ibmphp_res.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmphp.h [PATCH] PCI: Spelling fixes for drivers/pci. 2005-05-03 23:45:16 -07:00
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 [PATCH] sysfs: (driver/pci) if show/store is missing return -EIO 2005-06-20 15:15:02 -07:00
pci_hotplug.h [PATCH] PCI: Spelling fixes for drivers/pci. 2005-05-03 23:45:16 -07:00
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 [PATCH] PCI: fix namespace clashes 2005-11-10 16:09:18 -08:00
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 [PATCH] PCI Hotplug: Fix buffer overrun in rpadlpar_sysfs.c 2005-09-22 07:58:25 -07:00
rpadlpar.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [PATCH] PCI: convert kcalloc to kzalloc 2005-09-22 07:58:24 -07:00
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 [PATCH] shpchp: fix oops at driver unload 2005-10-28 15:37:01 -07:00
shpchp.h [PATCH] shpchp: adapt to pci driver model 2006-03-23 14:35:13 -08:00
shpchprm_acpi.c [PATCH] shpchp: miscellaneous cleanups 2005-10-28 15:37:00 -07:00
shpchprm_legacy.c [PATCH] shpchp: miscellaneous cleanups 2005-10-28 15:37:00 -07:00
shpchprm_nonacpi.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00