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:
parent
e29ad45703
commit
9ac92a2693
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user