drm/mgag200: remove unneeded variable
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 1 Jul 2015 11:42:46 +0000 (17:12 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 17 Jul 2015 06:50:45 +0000 (08:50 +0200)
commitf9fe4b9b2ad4f2b801fdff3d634b07c9f9fc4327
tree5dc6250593471bc6c3b68ff2c7e94412900680b1
parent546aee51ecacf6605b15f6a2580926f956dc5a3e
drm/mgag200: remove unneeded variable

ttm_bo_validate() returns 0 or error. So we can return the value
directly and remove the variable 'ret'.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/mgag200/mgag200_ttm.c