summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_fops.c
diff options
context:
space:
mode:
authorDaniel Vetter2013-07-10 14:11:36 +0200
committerDave Airlie2013-07-23 11:20:19 +0200
commit3dadef6c96c8aa6e67f83b30504256a0605ee4d6 (patch)
treed2b35caff6a606675b411d33e040b5e0326b5aed /drivers/gpu/drm/drm_fops.c
parentdrm: remove drm_modctx ioctl and use drm_noop instead (diff)
downloadkernel-qcow2-linux-3dadef6c96c8aa6e67f83b30504256a0605ee4d6.tar.gz
kernel-qcow2-linux-3dadef6c96c8aa6e67f83b30504256a0605ee4d6.tar.xz
kernel-qcow2-linux-3dadef6c96c8aa6e67f83b30504256a0605ee4d6.zip
drm: kill dev->context_wait
No one ever waits on this waitqueue, so the wake_up call is wasted. Remove it all. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/drm_fops.c')
-rw-r--r--drivers/gpu/drm/drm_fops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c
index 3a24385e0368..0dcbbdb6f972 100644
--- a/drivers/gpu/drm/drm_fops.c
+++ b/drivers/gpu/drm/drm_fops.c
@@ -81,7 +81,6 @@ static int drm_setup(struct drm_device * dev)
dev->last_context = 0;
dev->last_switch = 0;
dev->last_checked = 0;
- init_waitqueue_head(&dev->context_wait);
dev->if_version = 0;
dev->ctx_start = 0;