net: buf: Fix compilation if net buf debugging is turned off
Change-Id: I4883f624b10271de9444f86bafcaaac5ede97321 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
3b2f85ba5e
commit
38e935a97f
1 changed files with 2 additions and 2 deletions
|
@ -120,8 +120,8 @@ static inline int get_frees(enum ip_buf_type type)
|
|||
#define inc_free_rx_bufs(...)
|
||||
#define dec_free_tx_bufs(...)
|
||||
#define inc_free_tx_bufs(...)
|
||||
#define inc_free_rx_bufs_func NULL
|
||||
#define inc_free_tx_bufs_func NULL
|
||||
#define inc_free_rx_bufs_func(...)
|
||||
#define inc_free_tx_bufs_func(...)
|
||||
#endif
|
||||
|
||||
static struct nano_fifo free_rx_bufs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue