From 9ac92a2693b0396a51e02aa13dba20b356d49359 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Mon, 15 Jul 2013 09:37:12 +0200 Subject: [PATCH] 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 Acked-by: Thomas Monjalon --- lib/librte_eal/common/eal_common_memzone.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/librte_eal/common/eal_common_memzone.c b/lib/librte_eal/common/eal_common_memzone.c index a1fcdfdfd0..790f2fab9a 100644 --- a/lib/librte_eal/common/eal_common_memzone.c +++ b/lib/librte_eal/common/eal_common_memzone.c @@ -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; } -- 2.20.1