fbarray: reduce duplication in element finding
authorAnatoly Burakov <anatoly.burakov@intel.com>
Mon, 11 Jun 2018 20:55:37 +0000 (21:55 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Jul 2018 09:02:31 +0000 (11:02 +0200)
commit9777a143cafef1153bb313ee978a1071defdd92a
treeed75f6fa5255756b26f9c1f258c336b163443f97
parent66656d0bf9e261993feff6bd908a13698c40e5df
fbarray: reduce duplication in element finding

Just code move to put all checks and calls in one place.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/eal_common_fbarray.c