From: Olivier Matz Date: Mon, 15 Jul 2013 07:37:12 +0000 (+0200) Subject: mem: remove unneeded log X-Git-Tag: spdx-start~10950 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9ac92a2693b0396a51e02aa13dba20b356d49359;p=dpdk.git 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 --- 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; }