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:
Luiz Augusto von Dentz 2017-04-04 17:03:05 +03:00 committed by Jukka Rissanen
parent 7cdb750539
commit 22acec357e

View file

@ -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;
}