mem: remove unneeded log

Remove an error log in memzone_reserve_aligned_thread_unsafe().
It is up to the caller to log the error, and this is already done
in DPDK code (especially in network drivers).

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
Olivier Matz 2013-07-15 09:37:12 +02:00 committed by David Marchand
parent e29ad45703
commit 9ac92a2693

View File

@ -259,9 +259,6 @@ memzone_reserve_aligned_thread_unsafe(const char *name, size_t len,
return memzone_reserve_aligned_thread_unsafe(name,
len, socket_id, 0, align, bound);
RTE_LOG(ERR, EAL, "%s(%s, %zu, %d): "
"No appropriate segment found\n",
__func__, name, requested_len, socket_id);
rte_errno = ENOMEM;
return NULL;
}