numam-dpdk/lib/librte_eventdev
Pablo de Lara 34345a9b69 eventdev: fix build with icc
ICC complains about variable being used before its value is set.
Since the variable is only assigned in the for loop,
its declaration is moved inside and is initialized.

lib/librte_eventdev/rte_event_timer_adapter.c(708): error #592:
variable "ret" is used before its value is set
        RTE_SET_USED(ret);

Fixes: 6750b21bd6 ("eventdev: add default software timer adapter")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>
2018-04-19 13:42:59 +02:00
..
Makefile eventdev: add default software timer adapter 2018-04-16 11:04:46 +02:00
meson.build eventdev: add default software timer adapter 2018-04-16 11:04:46 +02:00
rte_event_eth_rx_adapter.c ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
rte_event_eth_rx_adapter.h eventdev: add Rx timestamp 2018-04-16 10:04:58 +02:00
rte_event_ring.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_event_ring.h eventdev: fix MP/MC tail updates in event ring 2018-04-16 10:10:27 +02:00
rte_event_timer_adapter_pmd.h eventdev: add timer adapter common code 2018-04-16 11:04:46 +02:00
rte_event_timer_adapter.c eventdev: fix build with icc 2018-04-19 13:42:59 +02:00
rte_event_timer_adapter.h eventdev: add default software timer adapter 2018-04-16 11:04:46 +02:00
rte_eventdev_pmd_pci.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_eventdev_pmd_vdev.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_eventdev_pmd.h eventdev: add timer adapter common code 2018-04-16 11:04:46 +02:00
rte_eventdev_version.map eventdev: add timer adapter common code 2018-04-16 11:04:46 +02:00
rte_eventdev.c eventdev: add timer adapter common code 2018-04-16 11:04:46 +02:00
rte_eventdev.h eventdev: remove stale forward declaration 2018-04-16 11:27:15 +02:00