Re: [PATCH -next] drm/etnaviv: remove unneeded if-null-free check

From: Christian Gmeiner
Date: Fri Apr 09 2021 - 11:22:08 EST


Am Fr., 9. Apr. 2021 um 14:23 Uhr schrieb Qiheng Lin <linqiheng@xxxxxxxxxx>:
>
> Eliminate the following coccicheck warning:
>
> drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c:616:2-8: WARNING:
> NULL check before some freeing functions is not needed.
> drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c:618:2-8: WARNING:
> NULL check before some freeing functions is not needed.
> drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c:620:2-8: WARNING:
> NULL check before some freeing functions is not needed.
> drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c:622:2-8: WARNING:
> NULL check before some freeing functions is not needed.
>
> Signed-off-by: Qiheng Lin <linqiheng@xxxxxxxxxx>

Reviewed-by: Christian Gmeiner <christian.gmeiner@xxxxxxxxx>

--
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info/privacypolicy