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 14:35:16 -0800 |
commit | 1305e9184a3de84f78dca102b293d21007bb6c49 (patch) | |
tree | 4cefbc44ce9ac3e8563a64fd76590a4f24cf389d /Documentation | |
parent | 0cccd0c20677e8a9da40018632f1b6c487ba2bd5 (diff) | |
download | linux-1305e9184a3de84f78dca102b293d21007bb6c49.tar.bz2 |
[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 'Documentation')
0 files changed, 0 insertions, 0 deletions