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
..
2006-03-23 14:35:15 -08:00
2006-03-23 14:35:15 -08:00
2006-03-23 14:35:15 -08:00
2006-01-31 18:00:11 -08:00
2006-03-23 14:35:15 -08:00
2005-06-09 01:37:59 -07:00
2005-06-09 01:37:59 -07:00
2005-05-17 14:31:11 -07:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-04-16 15:20:36 -07:00
2006-03-23 14:35:10 -08:00
2006-03-23 14:35:16 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-07 07:54:05 -08:00
2006-01-09 12:13:20 -08:00
2006-03-23 14:35:10 -08:00
2005-10-30 17:37:32 -08:00
2006-01-31 18:00:11 -08:00
2005-04-16 15:20:36 -07:00
2006-03-23 14:35:10 -08:00
2006-01-09 12:13:16 -08:00
2005-04-16 15:20:36 -07:00
2005-05-03 23:45:16 -07:00
2006-01-31 18:00:11 -08:00
2006-03-23 14:35:15 -08:00
2005-06-20 15:15:02 -07:00
2005-05-03 23:45:16 -07:00
2006-03-23 14:35:10 -08:00
2006-03-23 14:35:10 -08:00
2006-03-23 14:35:10 -08:00
2006-01-09 12:13:18 -08:00
2006-03-23 14:35:10 -08:00
2006-01-09 12:13:20 -08:00
2005-11-10 16:09:18 -08:00
2006-03-23 14:35:11 -08:00
2006-01-31 18:00:13 -08:00
2005-09-22 07:58:25 -07:00
2005-04-16 15:20:36 -07:00
2006-01-31 18:00:13 -08:00
2006-01-31 18:00:13 -08:00
2006-02-01 16:35:29 -08:00
2006-01-31 18:00:13 -08:00
2005-09-22 07:58:24 -07:00
2006-03-23 14:35:13 -08:00
2006-03-23 14:35:13 -08:00
2006-03-23 14:35:13 -08:00
2006-01-09 12:13:16 -08:00
2005-10-28 15:37:01 -07:00
2006-03-23 14:35:13 -08:00
2005-10-28 15:37:00 -07:00
2005-10-28 15:37:00 -07:00
2005-10-30 17:37:32 -08:00