summaryrefslogtreecommitdiff
path: root/drivers/char/drm/drm_auth.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-08-08 12:17:02 (GMT)
committerDave Airlie <airlied@linux.ie>2006-09-21 19:32:32 (GMT)
commit572225bedf8e39b5dd7cc687a51015edbb738401 (patch)
treeef74665d157db35c08fb4f1346f5e9b10dc849f5 /drivers/char/drm/drm_auth.c
parent7981bf7d494a6c4d45e22c54b0da887e5a67e705 (diff)
downloadlinux-fsl-qoriq-572225bedf8e39b5dd7cc687a51015edbb738401.tar.xz
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 <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_auth.c')
-rw-r--r--drivers/char/drm/drm_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_auth.c b/drivers/char/drm/drm_auth.c
index 40cd262..c7b19d3 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;
}
/**