drm/ttm: inline drm_bo_setup_vm()
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 25 Jul 2013 12:08:51 +0000 (14:08 +0200)
committerDave Airlie <airlied@gmail.com>
Wed, 7 Aug 2013 08:08:05 +0000 (18:08 +1000)
commitabf190351b49937335130970a99a0b4275402b5e
treef13a1703240ddeca2532d6f47c99fc4b37e368ed
parentc700c67bae6698fbc6bd20e2ae5dc62ddd367b3b
drm/ttm: inline drm_bo_setup_vm()

This helper is used only once and just wraps a call to
drm_vma_offset_add(). Remove this unneeded indirection to safe 10 lines of
code.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/ttm/ttm_bo.c