summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOlivier Matz <olivier.matz@6wind.com>2013-07-15 09:37:12 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-01-15 18:08:44 +0100
commita3e3991cb55d1b3165301a0c4126d06420d54b1f (patch)
tree6b50f69d89e477de99f6544e91f9943896189c30 /lib
parent0ec3da126ac5013b7016ddfe0072d36caf04b8d9 (diff)
downloaddpdk-a3e3991cb55d1b3165301a0c4126d06420d54b1f.zip
dpdk-a3e3991cb55d1b3165301a0c4126d06420d54b1f.tar.gz
dpdk-a3e3991cb55d1b3165301a0c4126d06420d54b1f.tar.xz
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/librte_eal/common/eal_common_memzone.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/librte_eal/common/eal_common_memzone.c b/lib/librte_eal/common/eal_common_memzone.c
index bd8f912..35cee81 100644
--- a/lib/librte_eal/common/eal_common_memzone.c
+++ b/lib/librte_eal/common/eal_common_memzone.c
@@ -202,9 +202,6 @@ memzone_reserve_aligned_thread_unsafe(const char *name, size_t len,
return memzone_reserve_aligned_thread_unsafe(name, len - align,
socket_id, 0, align);
- RTE_LOG(ERR, EAL, "%s(%s, %zu, %d): "
- "No appropriate segment found\n",
- __func__, name, requested_len, socket_id);
rte_errno = ENOMEM;
return NULL;
}