[dpdk-dev] [PATCH v3 08/10] vmxnet3: get rid of DEBUG ifdefs

2015-03-06 Thread Yong Wang
On 3/5/15, 4:10 PM, "Stephen Hemminger" wrote: >By defining macro as a stub it is possible to get rid of #ifdef's >in the actual code. Always evaluate the argument (even in the stub) >so that there are no extra unused variable errors. > >Signed-off-by: Stephen Hemminger Acked-by: Yong Wang >-

[dpdk-dev] [PATCH v3 08/10] vmxnet3: get rid of DEBUG ifdefs

2015-03-05 Thread Stephen Hemminger
By defining macro as a stub it is possible to get rid of #ifdef's in the actual code. Always evaluate the argument (even in the stub) so that there are no extra unused variable errors. Signed-off-by: Stephen Hemminger --- lib/librte_pmd_vmxnet3/vmxnet3_ethdev.h | 6 -- lib/librte_pmd_vmxnet