app/testpmd: remove duplicated function for list parsing
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 16 Dec 2014 11:07:52 +0000 (11:07 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 15 Jan 2015 12:41:39 +0000 (13:41 +0100)
commit950d15163a494faa13a98c7af9ffd131f06c4a2c
treef0fab0bfb190ce1f8514a73115d27f1416115d01
parent7b00a204bbe126bc84ab788c0364198e43189239
app/testpmd: remove duplicated function for list parsing

There were two static functions called "parse_item_list" in testpmd app.
Since one was a superset of the functionality of the other, we can
collapse the two calls down into a single one, shared between the two
C files.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/parameters.c
app/test-pmd/testpmd.h