sfc: Do not define inline macro
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
committed by
Jeff Garzik
parent
9bbd7d9a35
commit
6f8135ca72
@@ -81,11 +81,6 @@ do {if (net_ratelimit()) EFX_INFO(efx, fmt, ##args); } while (0)
|
|||||||
#define EFX_LOG_RL(efx, fmt, args...) \
|
#define EFX_LOG_RL(efx, fmt, args...) \
|
||||||
do {if (net_ratelimit()) EFX_LOG(efx, fmt, ##args); } while (0)
|
do {if (net_ratelimit()) EFX_LOG(efx, fmt, ##args); } while (0)
|
||||||
|
|
||||||
/* Kernel headers may redefine inline anyway */
|
|
||||||
#ifndef inline
|
|
||||||
#define inline inline __attribute__ ((always_inline))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
*
|
*
|
||||||
* Efx data structures
|
* Efx data structures
|
||||||
|
Reference in New Issue
Block a user