Commit 572225be authored by Dave Airlie's avatar Dave Airlie

drm: fix return value in auth function

This just fixes up the return value in the drm_auth:remove_magic
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 7981bf7d
...@@ -121,7 +121,7 @@ static int drm_remove_magic(drm_device_t * dev, drm_magic_t magic) ...@@ -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); drm_free(pt, sizeof(*pt), DRM_MEM_MAGIC);
return -EINVAL; return 0;
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment