summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2018-10-26 23:45:49 +0200
committerThomas Monjalon <thomas@monjalon.net>2018-10-27 00:18:06 +0200
commit6e5765deb72b765a79b6560f644d0c6ed004a0dc (patch)
treefb7ab82341ddb73f60694f8b3efef2ab9913139b /examples
parent5640171c528aa6462b556f180764f4d8539d711e (diff)
downloaddpdk-6e5765deb72b765a79b6560f644d0c6ed004a0dc.zip
dpdk-6e5765deb72b765a79b6560f644d0c6ed004a0dc.tar.gz
dpdk-6e5765deb72b765a79b6560f644d0c6ed004a0dc.tar.xz
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>
Diffstat (limited to 'examples')
-rw-r--r--examples/l3fwd-power/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index c07eeff..0b3f8fe 100644
--- a/examples/l3fwd-power/main.c
+++ b/examples/l3fwd-power/main.c
@@ -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;