From: Thomas Monjalon Subject: Re: [PATCH] mem: remove unneeded log Date: Fri, 26 Jul 2013 17:08:23 +0200 Message-ID: <201307261708.23631.thomas.monjalon@6wind.com> References: <1374850483-9104-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1374850483-9104-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 26/07/2013 16:54, Thomas Monjalon : > From: Olivier Matz > > 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 5532f0d..cd60054 100644 > --- a/lib/librte_eal/common/eal_common_memzone.c > +++ b/lib/librte_eal/common/eal_common_memzone.c > @@ -198,9 +198,6 @@ memzone_reserve_aligned_thread_unsafe(const char *name, > uint64_t len, return memzone_reserve_aligned_thread_unsafe(name, len - > align, socket_id, 0, align); > > - RTE_LOG(ERR, EAL, "%s(%s, %" PRIu64 ", %d): " > - "No appropriate segment found\n", > - __func__, name, requested_len, socket_id); > rte_errno = ENOMEM; > return NULL; > } pushed -- Thomas