i40e/base: minor clean up
authorJingjing Wu <jingjing.wu@intel.com>
Sun, 6 Sep 2015 07:11:45 +0000 (15:11 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 1 Oct 2015 23:35:22 +0000 (01:35 +0200)
commite31d665baadae46b00f446e717b4ae107fd2a04c
treeef28a27c197f00803d9db6c57cc5fcd533ddcd47
parent869b94700ee76f5eaa419628aeb8f6f3366dbb15
i40e/base: minor clean up

Use INLINE macro for better cross-platform code management.

Clean up some unnecessary logic jumping and drop a variable.

There was one more __FUNCTION__ reference that wasn't needed.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Huilong Xu <huilongx.xu@intel.com>
drivers/net/i40e/base/i40e_adminq.c
drivers/net/i40e/base/i40e_adminq.h
drivers/net/i40e/base/i40e_hmc.c
drivers/net/i40e/base/i40e_lan_hmc.c
drivers/net/i40e/base/i40e_nvm.c
drivers/net/i40e/base/i40e_type.h