]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: fix NULL check before some freeing functions is not needed
authorTian Tao <tiantao6@hisilicon.com>
Mon, 25 Jan 2021 03:27:27 +0000 (11:27 +0800)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 25 Jan 2021 17:29:48 +0000 (18:29 +0100)
commit7d614ab2f20503ed8766363d41f8607337571adf
tree91f50c9fb19af3eec58bc56ebe4f8111f81f454c
parent03a2753936e85beb8239fd20ae3fb2ce90209212
drm/etnaviv: fix NULL check before some freeing functions is not needed

fixed the below warning:
drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c:84:2-8: WARNING: NULL check
before some freeing functions is not needed.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c