]> git.baikalelectronics.ru Git - kernel.git/commit
drm/gma500: Remove dev_priv branch from unload function
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 20 Sep 2021 14:10:50 +0000 (16:10 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 23 Sep 2021 07:40:43 +0000 (09:40 +0200)
commitdee0f0e67efa8537042b6b1a0a2a7e38c6009bb1
treecfff1e3a4cc8ce635d5b9a1e67ddf886659035c3
parent98b74fdaa4501984e907c6465227a2be7d6be741
drm/gma500: Remove dev_priv branch from unload function

The value of dev_priv in psb_driver_unload() is always non-zero. Remove
the respective test.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210920141051.30988-5-tzimmermann@suse.de
drivers/gpu/drm/gma500/psb_drv.c