malloc: simplify heap initialisation
authorDavid Marchand <david.marchand@6wind.com>
Fri, 18 Apr 2014 12:56:18 +0000 (14:56 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 30 Apr 2014 09:31:22 +0000 (11:31 +0200)
commitc87215d0458d6d6cce35b85e5197d3b7b4c03087
treebfc257d957032a70787a80b6788002785634024f
parenteeeebe4cd99469dffd99f802afa7022440d34592
malloc: simplify heap initialisation

There should be no real need for this initialised field as the whole structure
is set to 0 in rte_config_init() by primary process, and secondary processes
wait for this to happen before anything else (looking at mem_config magic).

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_eal/common/include/rte_malloc_heap.h
lib/librte_malloc/malloc_heap.c