aboutsummaryrefslogtreecommitdiff
path: root/linux/mga_context.c
diff options
context:
space:
mode:
authorRik Faith <faith@alephnull.com>2000-09-29 02:05:41 +0000
committerRik Faith <faith@alephnull.com>2000-09-29 02:05:41 +0000
commit52f0bc3c9ec722c0c8a40bb7959e7ec2eb9d8180 (patch)
treef98d14b28b3d50fd180d523760c65428b48231e6 /linux/mga_context.c
parent39a659e87718d8b6bbf138510e83de7a1e95d855 (diff)
More changes for sync with Linux 2.4.0-test9-pre7
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);