On Mon, Jan 9, 2017 at 8:47 PM, Stephen Boyd <[email protected]> wrote:

> container_of() does pointer math on the pointer that's passed in.
> If it were to return a NULL pointer the value passed in would
> need to be perfectly offset from 0 to make that so. Remove these
> checks because they don't make sense.
>
> Signed-off-by: Stephen Boyd <[email protected]>

Good point.

Patch applied.

Yours,
Linus Walleij

Reply via email to