Dan Carpenter 4051f5ebb1 PCI: ibmphp: Fix use-before-set in get_max_bus_speed()
The "rc" variable is only initialized on the error path.  The caller
doesn't check the return but, if "rc" is non-zero, then this function is
basically a no-op.

Fixes: 3749c51ac6c1 ("PCI: Make current and maximum bus speeds part of the PCI core")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2018-04-20 12:49:24 -05:00
..
2018-04-06 18:31:06 -07:00
2018-04-04 13:28:57 -05:00
2018-04-04 13:27:58 -05:00
2018-04-04 13:28:40 -05:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-04-04 13:28:26 -05:00
2018-01-18 12:55:24 -06:00
2018-02-01 11:40:07 -06:00
2018-03-19 14:20:41 -05:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-02-01 11:40:07 -06:00
2018-03-19 14:20:43 -05:00
2018-04-06 18:31:06 -07:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-04-04 13:28:40 -05:00
2018-04-04 13:28:40 -05:00
2018-04-06 18:31:06 -07:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-04-04 13:27:45 -05:00
2018-03-19 14:20:43 -05:00
2018-02-01 11:40:07 -06:00
2018-04-06 18:31:06 -07:00
2018-03-19 14:20:43 -05:00