i40e/i40evf: Convert macro to static inline
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 9 Dec 2014 10:31:16 +0000 (02:31 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 9 Dec 2014 20:57:05 +0000 (12:57 -0800)
commit4bd145bed5b74b934d4e426c6e8c426a95e37ca9
treeabb339c69d3c7e4e358ff21f5fff3c57e0223917
parente51d9b8f32dc11667035aeca6dff339545870655
i40e/i40evf: Convert macro to static inline

Inline functions are preferred over macros when they can be used
interchangeably.

CC: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_type.h
drivers/net/ethernet/intel/i40evf/i40e_type.h