From 572225bedf8e39b5dd7cc687a51015edbb738401 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 8 Aug 2006 22:17:02 +1000 Subject: drm: fix return value in auth function This just fixes up the return value in the drm_auth:remove_magic Signed-off-by: Dave Airlie --- drivers/char/drm/drm_auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/char/drm/drm_auth.c') diff --git a/drivers/char/drm/drm_auth.c b/drivers/char/drm/drm_auth.c index 40cd262ca9e1..c7b19d35bcd6 100644 --- a/drivers/char/drm/drm_auth.c +++ b/drivers/char/drm/drm_auth.c @@ -121,7 +121,7 @@ static int drm_remove_magic(drm_device_t * dev, drm_magic_t magic) drm_free(pt, sizeof(*pt), DRM_MEM_MAGIC); - return -EINVAL; + return 0; } /** -- cgit v1.2.1