drm/gem: dont init "ret" in drm_gem_mmap()
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 20 Jan 2014 19:15:38 +0000 (20:15 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sun, 16 Mar 2014 11:11:01 +0000 (12:11 +0100)
commita8469aa81de532180846b22e8ead3d8f4d2f96a2
tree753fcafb3a691dd4aef48217dcb25664b6096361
parentb28cd41f9e9bb8085f7362c80833fc129628d3d6
drm/gem: dont init "ret" in drm_gem_mmap()

There is no need to initialize this variable, so drop it. Otherwise, the
compiler won't warn if we use it unintialized.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
drivers/gpu/drm/drm_gem.c