vmxnet3: get rid of debug ifdefs
authorStephen Hemminger <shemming@brocade.com>
Thu, 9 Jul 2015 18:24:15 +0000 (11:24 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 9 Jul 2015 22:45:09 +0000 (00:45 +0200)
commitcd3606435b8f43e7836b0eccae28b4ad7be86ab2
tree870375eb0c009dcd13029d070467be07932888f0
parent9fd5e98b62e41507cad41790b617112cd2a66471
vmxnet3: get rid of debug ifdefs

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 <stephen@networkplumber.org>
Acked-by: Yong Wang <yongwang@vmware.com>
drivers/net/vmxnet3/vmxnet3_ethdev.h
drivers/net/vmxnet3/vmxnet3_rxtx.c