[PATCH] drm/ttm: inline drm_bo_setup_vm()

2013-07-25 Thread David Herrmann
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 --- drivers/gpu/drm/ttm/ttm_bo.c | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/drive

[PATCH] drm/ttm: inline drm_bo_setup_vm()

2013-07-25 Thread Jerome Glisse
On Thu, Jul 25, 2013 at 8:08 AM, David Herrmann wrote: > 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 Review-by: Jerome Glisse > --- > drivers/gpu/drm/ttm/ttm_bo.c

Re: [PATCH] drm/ttm: inline drm_bo_setup_vm()

2013-07-25 Thread Jerome Glisse
On Thu, Jul 25, 2013 at 8:08 AM, David Herrmann wrote: > 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 Review-by: Jerome Glisse > --- > drivers/gpu/drm/ttm/ttm_bo.c

[PATCH] drm/ttm: inline drm_bo_setup_vm()

2013-07-25 Thread David Herrmann
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 --- drivers/gpu/drm/ttm/ttm_bo.c | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/drive