]> git.baikalelectronics.ru Git - kernel.git/commit
ice: use static inline for dummy functions
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Thu, 6 May 2021 15:39:56 +0000 (08:39 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 7 Jun 2021 15:59:01 +0000 (08:59 -0700)
commit62240c6f74eb1e504dded9c017c84e5d4db701b2
tree3c2eab26d3d5312b1f5970de0663c71d5b0a4ea5
parentacb035dd613ec6c99d2ea84612944b1532a4bfd8
ice: use static inline for dummy functions

Trivial:
The driver had previously attempted to use #define
macros to make functions that have no use in certain
configs disappear. Using static inlines instead allows
for certain static checkers to process the code better,
and results in no functional change.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_arfs.h
drivers/net/ethernet/intel/ice/ice_dcb_lib.h
drivers/net/ethernet/intel/ice/ice_dcb_nl.h
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h
drivers/net/ethernet/intel/ice/ice_xsk.h