drm/ttm: cleanup unuse ret value
authorHuang Rui <ray.huang@amd.com>
Mon, 17 Apr 2017 07:32:52 +0000 (15:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:32:37 +0000 (17:32 -0400)
commitaef1ba58f5c60ec2de38258cb76db7842ccb6e1b
tree69ea46eac00e5f97bf93696e3bf6c9f5b11e3e79
parentb3124dfcce8147e1340a06952f32443dc7e102b1
drm/ttm: cleanup unuse ret value

The ret must be 0 here, otherwise, the function will return after init_mem_type.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c