igb_uio: use macros for array size calculation
authorFerruh Yigit <ferruh.yigit@intel.com>
Fri, 4 Mar 2016 11:21:16 +0000 (11:21 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Mar 2016 22:25:59 +0000 (23:25 +0100)
commitb367a3820d7b683930755d2f8b97e193dfe94c73
tree61211fac090a132e2ae51cfce535dc5c691a8a70
parentaf9f6e12047bb86f74292e7c64924e319dc8a5a6
igb_uio: use macros for array size calculation

Minor code cleanup.
Remove array size calculations and remove unnecessary assignment.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_eal/linuxapp/igb_uio/igb_uio.c