Stephen Hemminger c07f42ec0b pci: cleanup scan loop
Do some cleanup of pci scan loop.
  * check errors first
  * don't initialize variables where not necessary
  * cuddle else (follow existing style)
  * chop off conditional after return

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2015-08-03 18:03:06 +02:00
..
2015-03-10 11:47:46 +01:00
2014-06-11 00:29:34 +02:00
2015-07-16 14:01:04 +02:00
2015-03-10 11:47:46 +01:00
2015-08-03 18:03:06 +02:00
2015-03-10 11:47:46 +01:00
2015-07-27 02:11:00 +02:00
2015-07-27 00:09:22 +02:00
2015-07-27 02:11:00 +02:00