drm/vmwgfx: Delete an unnecessary check before the function call "vfree"
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 22 Jul 2016 11:31:00 +0000 (13:31 +0200)
committerSean Paul <seanpaul@chromium.org>
Fri, 22 Jul 2016 15:23:40 +0000 (11:23 -0400)
commit0bc329976bc178aacf78ca6e3de8084e8e7eb5e4
tree65679d6c4162bdf46be95390f3d16a7e6f6d3e02
parentdc3583c86ae08cf89917e1874ae29b5cd651044e
drm/vmwgfx: Delete an unnecessary check before the function call "vfree"

The vfree() 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/8060f2e9-5070-3c10-d55c-dc058e4ca20d@users.sourceforge.net
Link: http://patchwork.freedesktop.org/patch/msgid/f1a0fd83-4320-f3db-e1bb-3b9832a4429f@users.sourceforge.net
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c