]> git.baikalelectronics.ru Git - 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)
commitab5ddfde3c92890a16da0a35df8b8ced7882628d
tree7b500d45b0349f455575a05205a53fc2ab7322e6
parent4056b5e39ccec3d5ece4a98330f55a2123c274af
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