net: buf: Reduce verbosity of net_buf_get
Don't assume NULL returns are always errors. Change-Id: I28d7a0fa6c848e338635010b1fdc9fc3e8440b27 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
7cdb750539
commit
22acec357e
|
@ -159,7 +159,6 @@ struct net_buf *net_buf_get(struct k_fifo *fifo, int32_t timeout)
|
|||
|
||||
buf = k_fifo_get(fifo, timeout);
|
||||
if (!buf) {
|
||||
NET_BUF_ERR("Failed to get free buffer");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue