eal/linux: remove unused variable for socket memory
authorJim Harris <james.r.harris@intel.com>
Fri, 29 Oct 2021 17:14:10 +0000 (17:14 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 4 Nov 2021 12:27:18 +0000 (13:27 +0100)
commit628bac7df18904c7083c8ad04669c69688f352de
tree11b8ab0bbfa01a8b6288caf98bceecdef3e458f9
parent11c5b9b51a18396c73556031d55c32cc9c80045b
eal/linux: remove unused variable for socket memory

clang-13 rightfully complains that the total_mem variable in
eal_parse_socket_arg is set but not used, since the final
accumulated total_mem result isn't used anywhere.
So just remove the total_mem variable.

Fixes: 0a703f0f36c1 ("eal/linux: fix parsing zero socket memory and limits")

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
lib/eal/linux/eal.c