net: ip: Fix a build issue when CONFIG_NETWORKING_WITH_LOGGING=n
Fixing this issue: net/ip/l2_buf.c:81:31: note: in expansion of macro 'NULL' #define inc_free_l2_bufs_func NULL ^ net/ip/l2_buf.c:88:2: note: in expansion of macro 'inc_free_l2_bufs_func' inc_free_l2_bufs_func(buf); ^ Change-Id: Ie58f23af479ec4f2dd625b1f0f36720bbe54f928 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
7078efb1ae
commit
8a826102e0
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ static inline int get_free_l2_bufs(void)
|
|||
#define dec_free_l2_bufs(...)
|
||||
#define inc_free_l2_bufs(...)
|
||||
#define get_free_l2_bufs(...)
|
||||
#define inc_free_l2_bufs_func NULL
|
||||
#define inc_free_l2_bufs_func(...)
|
||||
#endif
|
||||
|
||||
static struct nano_fifo free_l2_bufs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue