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>
This commit is contained in:
parent
5640171c52
commit
6e5765deb7
@ -373,10 +373,6 @@ signal_exit_now(int sigtype)
|
||||
unsigned int portid;
|
||||
int ret;
|
||||
|
||||
RTE_SET_USED(lcore_id);
|
||||
RTE_SET_USED(portid);
|
||||
RTE_SET_USED(ret);
|
||||
|
||||
if (sigtype == SIGINT) {
|
||||
if (empty_poll_on)
|
||||
empty_poll_stop = true;
|
||||
|
Loading…
Reference in New Issue
Block a user