diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-02-26 22:16:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-23 23:35:16 +0100 |
commit | 1305e9184a3de84f78dca102b293d21007bb6c49 (patch) | |
tree | 4cefbc44ce9ac3e8563a64fd76590a4f24cf389d /drivers/pci/proc.c | |
parent | [PATCH] acpiphp: fix bridge handle (diff) | |
download | linux-1305e9184a3de84f78dca102b293d21007bb6c49.tar.xz linux-1305e9184a3de84f78dca102b293d21007bb6c49.zip |
[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>
Diffstat (limited to 'drivers/pci/proc.c')
0 files changed, 0 insertions, 0 deletions