event/octeontx: fix build with icc
authorFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Apr 2017 15:32:09 +0000 (16:32 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 5 Apr 2017 16:20:42 +0000 (18:20 +0200)
commita175e38f2ef94c0d8033955d6406d96cd2125134
tree3eedc01044ca22b85190127302a057938b06633d
parent3061d0d961cd1a3a40b82639b44a1efa8343acab
event/octeontx: fix build with icc

build error:
.../drivers/event/octeontx/ssovf_worker.c(212):
error #592: variable "get_work0" is used before its value is set
        RTE_SET_USED(get_work0);
        ^

.../drivers/event/octeontx/ssovf_worker.c(213):
error #592: variable "get_work1" is used before its value is set
        RTE_SET_USED(get_work1);
        ^
For x86 these variables set but not used, move macros below
where values assigned.

Fixes: f61808eaa9ad ("event/octeontx: add start function")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/event/octeontx/ssovf_worker.c