]> git.baikalelectronics.ru Git - kernel.git/commit
GPU-DRM-Exynos: Delete an unnecessary check before the function call "vunmap"
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 21 Jul 2016 17:23:25 +0000 (19:23 +0200)
committerSean Paul <seanpaul@chromium.org>
Thu, 21 Jul 2016 18:06:33 +0000 (14:06 -0400)
commita743712035b6c43f53ecc808957921cd5169c5ec
treee447785e782eed63f31bccc0da42f3cac73060ac
parent09b7458cc5fae0a1c0c764b4e2ed8856533c1249
GPU-DRM-Exynos: Delete an unnecessary check before the function call "vunmap"

The vunmap() function performs also input parameter validation.
Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/a5a79711-10a3-e304-a897-892ebdf2ff9f@users.sourceforge.net
drivers/gpu/drm/exynos/exynos_drm_fbdev.c