summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Matz <olivier.matz@6wind.com>2013-07-15 09:37:12 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2013-09-17 14:16:11 +0200
commit27b58cb9fe7059f2198bdd6639d411fb3962a5fe (patch)
tree9ced2644ee020bf07dcdc4450662af62a16c1b31
parent962ce023f76044b489530f9c2b6652d3831f9032 (diff)
downloaddpdk-27b58cb9fe7059f2198bdd6639d411fb3962a5fe.zip
dpdk-27b58cb9fe7059f2198bdd6639d411fb3962a5fe.tar.gz
dpdk-27b58cb9fe7059f2198bdd6639d411fb3962a5fe.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>
-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 7ef4708..a6eeb5a 100644
--- a/lib/librte_eal/common/eal_common_memzone.c
+++ b/lib/librte_eal/common/eal_common_memzone.c
@@ -203,9 +203,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;
}