summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_memory.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-08-23 22:53:35 +0200
committerDave Airlie <airlied@redhat.com>2010-08-30 09:38:39 +1000
commit690bb51b54a986e48c7b8b2dba51a3cd262a7266 (patch)
tree7943c7eaf853d987dedff50ec507d25cd5da9c11 /drivers/gpu/drm/drm_memory.c
parenta2a273c94357ffd24e635cf9ec9b2e5c6f02b63b (diff)
drm: drop return value of drm_free_agp
No caller (rightly) cares about it, so drop it. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_memory.c')
-rw-r--r--drivers/gpu/drm/drm_memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_memory.c b/drivers/gpu/drm/drm_memory.c
index 7732268eced2..70ca27edc3c9 100644
--- a/drivers/gpu/drm/drm_memory.c
+++ b/drivers/gpu/drm/drm_memory.c
@@ -106,9 +106,9 @@ DRM_AGP_MEM *drm_alloc_agp(struct drm_device * dev, int pages, u32 type)
}
/** Wrapper around agp_free_memory() */
-int drm_free_agp(DRM_AGP_MEM * handle, int pages)
+void drm_free_agp(DRM_AGP_MEM * handle, int pages)
{
- return drm_agp_free_memory(handle) ? 0 : -EINVAL;
+ drm_agp_free_memory(handle);
}
EXPORT_SYMBOL(drm_free_agp);