[PATCH -next] drm/etnaviv: remove unneeded if-null-free check
Christian Gmeiner
christian.gmeiner at gmail.com
Fri Apr 9 15:21:52 UTC 2021
Am Fr., 9. Apr. 2021 um 14:23 Uhr schrieb Qiheng Lin <linqiheng at huawei.com>:
>
> 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 at huawei.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
--
greets
--
Christian Gmeiner, MSc
https://christian-gmeiner.info/privacypolicy
More information about the dri-devel
mailing list