bus/vdev: use local bus reference
authorJan Blunck <jblunck@infradead.org>
Tue, 11 Jul 2017 23:15:47 +0000 (19:15 -0400)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 12 Jul 2017 12:16:17 +0000 (14:16 +0200)
commit48af1214f951eb8caeb6bf6d5b65720f4d3c1368
tree725133ee045bc05b73c5ec1f0ac2d75562274df7
parentf6713517521e8e367f51c6e364423b23a4f47eb4
bus/vdev: use local bus reference

It isn't necessary to use rte_bus_find_by_name() to find a reference to
our own bus.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
lib/librte_eal/common/eal_common_vdev.c