mempool: remove redundant socket id assignment
authorWei Zhao <wei.zhao1@intel.com>
Mon, 5 Dec 2016 03:39:04 +0000 (11:39 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 6 Dec 2016 14:18:51 +0000 (15:18 +0100)
commite8453b9f3c3b119c0a21835e5fc39d339f477bad
treeecaa13ebe8fe29eebb28a38429ac598c629a86d8
parentac7cd715d462090df0032667d7a87400d9814688
mempool: remove redundant socket id assignment

There is a redundant repetition mempool socket_id assignment in the
file rte_mempool.c in function rte_mempool_create_empty. The
statement "mp->socket_id = socket_id;"appear twice in line 821
and 824. One of them is redundant, so delete it.

Fixes: 85226f9c526b ("mempool: introduce a function to create an empty pool")

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mempool/rte_mempool.c