summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_context.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-10 12:11:36 (GMT)
committerDave Airlie <airlied@gmail.com>2013-07-23 09:20:19 (GMT)
commit3dadef6c96c8aa6e67f83b30504256a0605ee4d6 (patch)
treed2b35caff6a606675b411d33e040b5e0326b5aed /drivers/gpu/drm/drm_context.c
parent492d774db34fd601b3db17218cf0ae262b51b5cf (diff)
downloadlinux-3dadef6c96c8aa6e67f83b30504256a0605ee4d6.tar.xz
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_context.c')
-rw-r--r--drivers/gpu/drm/drm_context.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_context.c b/drivers/gpu/drm/drm_context.c
index 6f9731f..5cc17f3 100644
--- a/drivers/gpu/drm/drm_context.c
+++ b/drivers/gpu/drm/drm_context.c
@@ -261,7 +261,6 @@ static int drm_context_switch_complete(struct drm_device *dev,
when the kernel holds the lock, release
that lock here. */
clear_bit(0, &dev->context_flag);
- wake_up(&dev->context_wait);
return 0;
}