mem: remove unneeded log
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 15 Jul 2013 07:37:12 +0000 (09:37 +0200)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:07:27 +0000 (11:07 +0100)
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>
lib/librte_eal/common/eal_common_memzone.c

index a1fcdfd..790f2fa 100644 (file)
@@ -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;
        }