drm/tegra: Delete an unnecessary check before the function call "vunmap"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 16 Jul 2016 05:23:42 +0000 (07:23 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 18 Jul 2016 07:11:30 +0000 (09:11 +0200)
commita63caf13a8037a0e04b9ecabfbcf8e340f33ce8d
treec7ace1fd3cd98c7cb3c23c8031a71d73edc9bdc3
parent5345a5ab513b3438bab7d5b02c02d9bde064209e
drm/tegra: 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: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/b3fbdcaf-1bda-7ce9-935b-2d716727ec39@users.sourceforge.net
drivers/gpu/drm/tegra/fb.c