summaryrefslogtreecommitdiff
path: root/linux/mga_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/mga_context.c')
-rw-r--r--linux/mga_context.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/mga_context.c b/linux/mga_context.c
index 5125cff6..b26c7c98 100644
--- a/linux/mga_context.c
+++ b/linux/mga_context.c
@@ -199,9 +199,7 @@ int mga_rmctx(struct inode *inode, struct file *filp, unsigned int cmd,
if (copy_from_user(&ctx, (drm_ctx_t *)arg, sizeof(ctx)))
return -EFAULT;
DRM_DEBUG("%d\n", ctx.handle);
- if(ctx.handle == DRM_KERNEL_CONTEXT+1) {
- priv->remove_auth_on_close = 1;
- }
+ if(ctx.handle == DRM_KERNEL_CONTEXT+1) priv->remove_auth_on_close = 1;
if(ctx.handle != DRM_KERNEL_CONTEXT) {
drm_ctxbitmap_free(dev, ctx.handle);