Yong Wang b3bee7d87d examples/vhost: fix lcore initialization
when "TAILQ_INIT()" was added to the loop of "for (lcore_id = 0; ...)"
statement, the assignment to "lcore_ids" was removed out of the loop.
It changed the original initialization of "lcore_ids".

Fix it by introducing two braces.

Fixes: 45657a5c6861 ("examples/vhost: use tailq to link vhost devices")
Cc: stable@dpdk.org

Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2017-01-17 09:20:18 +01:00
..
2016-09-16 10:16:02 +02:00
2016-09-16 10:16:02 +02:00
2016-09-16 10:16:02 +02:00
2016-09-16 10:16:02 +02:00
2016-09-16 10:16:02 +02:00
2016-09-16 10:16:02 +02:00
2016-09-16 10:16:02 +02:00
2016-09-16 10:16:02 +02:00
2016-09-16 10:16:02 +02:00
2016-07-25 17:54:57 +02:00
2016-09-16 10:16:02 +02:00
2016-09-16 10:16:02 +02:00