Re: [PATCH 5/7] fs: Convert show_fdinfo functions to void

From: Steven Rostedt
Date: Tue Oct 28 2014 - 10:43:25 EST


On Tue, 28 Oct 2014 07:31:32 -0700
Joe Perches <joe@xxxxxxxxxxx> wrote:


> > I wouldn't change logic on this. There's no reason to call this
> > function if it isn't doing anything.
> >
> > I'll change this to just do the update and not change logic like this.
>
> Fewer #ifdefs
>

And there's other ways to fix it (like using an #else), but that is
off-topic to the current change set. In other words, that change should
be separate, as I don't want discussions on what's the best use of
#ifdefs distracting from getting in the "void seq_printf()" changes.

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/