examples/l3fwd-power: fix build with icc
authorThomas Monjalon <thomas@monjalon.net>
Fri, 26 Oct 2018 21:45:49 +0000 (23:45 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 26 Oct 2018 22:18:06 +0000 (00:18 +0200)
commit6e5765deb72b765a79b6560f644d0c6ed004a0dc
treefb7ab82341ddb73f60694f8b3efef2ab9913139b
parent5640171c528aa6462b556f180764f4d8539d711e
examples/l3fwd-power: fix build with icc

main.c(376): error #592: variable "lcore_id" is used before its value is set
        RTE_SET_USED(lcore_id);
        ^

The variables were voided with RTE_SET_USED without an obvious reason.
Removing these voidings should avoid the icc error.

Fixes: a137d012 ("examples/l3fwd-power: support traffic pattern aware control")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
examples/l3fwd-power/main.c