]> err.no Git - linux-2.6/commitdiff
drm: fix return value in auth function
authorDave Airlie <airlied@linux.ie>
Tue, 8 Aug 2006 12:17:02 +0000 (22:17 +1000)
committerDave Airlie <airlied@linux.ie>
Thu, 21 Sep 2006 19:32:32 +0000 (05:32 +1000)
This just fixes up the return value in the drm_auth:remove_magic

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_auth.c

index 40cd262ca9e1b2009d0171f810a145afc0a7c50b..c7b19d35bcd6fc059c4c41d6925221f0bc78eb0a 100644 (file)
@@ -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;
 }
 
 /**