eal: remove redundant code to parse --lcores
authorWei Dai <wei.dai@intel.com>
Wed, 27 Jul 2016 11:22:31 +0000 (19:22 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 28 Jul 2016 16:09:54 +0000 (18:09 +0200)
commit75edc66a912eb4aee472ad8018dcde21c469e467
tree75efcd324fa6f2f2143badc2d9f7feab5c463f51
parente74e8c3351ac27648cf0e242c0130c65fdb33885
eal: remove redundant code to parse --lcores

local variable i is not referred by other codes in
the function eal_parse_lcores( ), so it can be removed.

Signed-off-by: Wei Dai <wei.dai@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/common/eal_common_options.c