Re: [PATCH 3/3] tracing: Remove NULL check from current in tracing_generic_entry_update().

From: Steven Rostedt
Date: Fri Jan 22 2021 - 17:18:10 EST


On Fri, 22 Jan 2021 17:12:11 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> > I can't imagine when or why `current' would return a NULL pointer. This
> > check was added in commit
> > 72829bc3d63cd ("ftrace: move enums to ftrace.h and make helper function global")
> >
> > but it doesn't give me hint why it was needed.
> >
> > Assume `current' never returns a NULL pointer and remove the check.
>
> I'm guessing this is unrelated to the patch series, and I can take this now
> separately.
>

Unrelated, except that it changes the copy not the original :-p

OK, I can wait till v2.

-- Steve