igb_uio: dont wrap pci_num_vf function needlessly
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 6 Jun 2014 23:50:32 +0000 (16:50 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 18 Jul 2014 23:54:41 +0000 (01:54 +0200)
commit819fc2fe2ad99c88d3f57e713d95e01ca2b7f20b
tree6e700bc4647f9780d1de9e2bd9d732ed755fc5e9
parent5635ae04abc3c3243b977a2d0027ca098e82ed97
igb_uio: dont wrap pci_num_vf function needlessly

It is better style to just use the pci_num_vf directly, rather
than wrapping it with a local (but globally named) function with
the same effect.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/igb_uio/igb_uio.c