aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/proc.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-02-26 22:16:51 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-23 14:35:16 -0800
commit1305e9184a3de84f78dca102b293d21007bb6c49 (patch)
tree4cefbc44ce9ac3e8563a64fd76590a4f24cf389d /drivers/pci/proc.c
parent0cccd0c20677e8a9da40018632f1b6c487ba2bd5 (diff)
downloadlinux-1305e9184a3de84f78dca102b293d21007bb6c49.tar.gz
[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