mem: mark unused function in 32-bit builds
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 28 May 2019 11:07:47 +0000 (12:07 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 3 Jun 2019 21:56:35 +0000 (23:56 +0200)
commitbe9d80d4df05715181e01cce79c5c82a9c36d6d5
treeac46a5f735efbe9d330e976cadbb62d016f00f19
parentf5256f8dfd959aae5a544048d1c0bdbdc1e5becf
mem: mark unused function in 32-bit builds

The get_socket_mem_size() function is only used in 64-bit builds,
causing clang to warn about it for 32-bit builds. Add the __rte_unused
attribute to the function to silence the warning.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
lib/librte_eal/linux/eal/eal_memory.c