]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/exynos/ipp: remove incorrect checks of list_first_entry result
authorAndrzej Hajda <a.hajda@samsung.com>
Thu, 3 Jul 2014 13:10:31 +0000 (15:10 +0200)
committerInki Dae <daeinki@gmail.com>
Sun, 3 Aug 2014 07:52:18 +0000 (16:52 +0900)
commit187d5edf1eaa8f6dc29f8a39fc10225d74a80d16
tree7b500d45b0349f455575a05205a53fc2ab7322e6
parent73b00232acb98aff95558c9395df4d2c70356a92
drm/exynos/ipp: remove incorrect checks of list_first_entry result

list_first_entry does not return NULL on empty list so this check
does not make sense. Moreover there is already code which prevents calling
list_first_entry on empty lists.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_ipp.c