Re: [dpdk-dev] [PATCH] drivers: remove useless constructor headers

2018-11-01 Thread Thomas Monjalon
28/10/2018 11:47, Thomas Monjalon: > A constructor is usually declared with RTE_INIT* macros. > As it is a static function, no need to declare before its definition. > The macro is used directly in the function definition. > > Signed-off-by: Thomas Monjalon Applied

[dpdk-dev] [PATCH] drivers: remove useless constructor headers

2018-10-28 Thread Thomas Monjalon
A constructor is usually declared with RTE_INIT* macros. As it is a static function, no need to declare before its definition. The macro is used directly in the function definition. Signed-off-by: Thomas Monjalon --- drivers/bus/vmbus/rte_bus_vmbus.h | 3 +-- drivers/compress/octeontx/otx_