drm/udl: Deletion of an unnecessary check before the function call "vunmap"
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 19 Nov 2014 16:33:32 +0000 (17:33 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 21 Nov 2014 02:16:35 +0000 (12:16 +1000)
commite9196d238597da0189b035f37c473c411275b0dd
tree8b5df9ab0893fa44cf53c2854fc4772caf77b15e
parentc08448173545428ed9761308fbaf90f8be7498c5
drm/udl: Deletion of an unnecessary check before the function call "vunmap"

The vunmap() function performes 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>
Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/udl/udl_gem.c