app/procinfo: remove useless assignment
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 19 Nov 2020 11:58:54 +0000 (11:58 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 11 Jan 2021 09:45:34 +0000 (10:45 +0100)
commitff1047ba5b3128bfd710fc05d2f5adaa259bf88c
tree3daff10156405c33017b0b6701df5beabfa68ed3
parentc923be82e06844384c5a4b62df957bf4be6a0af3
app/procinfo: remove useless assignment

'flag' is initialized to '0' but it is overwritten later, moving the
declaration where it is used and initialize with actual value.

Fixes: 0101a0ec6217 ("app/procinfo: add --show-mempool")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
app/proc-info/main.c