Re: [PATCH] atm: eni: fix several indentation issues

From: Joe Perches
Date: Tue Nov 28 2017 - 00:54:47 EST


On Mon, 2017-11-27 at 13:15 +0000, Colin King wrote:
> drivers/atm/eni.c

Aren't all those ++ variables unused?

They seem to be emitted in an
#if 0
printk(...)
#endif

Maybe these should be removed or changed
to something like:

#if 0
#define DEBUG_INCR(var) do { (var)++ } while (0)
#else
#define DEBUG_INCR(var) do {} while (0)
#endif

...

DEBUG_INCR(rx_enqueued);