[PATCH 4/9] powerpc/ps3: remove an unneeded NULL check

Michael Ellerman patch-notifications at ellerman.id.au
Mon Apr 6 23:05:43 AEST 2020


On Fri, 2020-03-27 at 20:26:23 UTC, Geoff Levand wrote:
> From: Dan Carpenter <dan.carpenter at oracle.com>
> 
> Static checkers don't like the inconsistent NULL checking on "ops".
> This function is only called once and "ops" isn't NULL so the check can
> be removed.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Geoff Levand <geoff at infradead.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/96efbab92cccbe3434501e5a77cbaa01c5bc2767

cheers


More information about the Linuxppc-dev mailing list