bus: simplify finding starting point
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 6 Jul 2017 15:28:10 +0000 (08:28 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 8 Jul 2017 17:28:58 +0000 (19:28 +0200)
commitc7fe1eea8a74dbe756596d9e798662f0b2c48885
tree53db4be3fbd61c3983082f6c23e6a940d1f4b10d
parent61d04efc3825b5059ded38c3f23e8e8aaf4db943
bus: simplify finding starting point

A separate boolean variable is not necessary when searching for
starting point in find_device. Just use the passed argument
as its own flag value.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/bus/fslmc/fslmc_bus.c
lib/librte_eal/common/eal_common_bus.c
lib/librte_eal/common/eal_common_pci.c
lib/librte_eal/common/eal_common_vdev.c