summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-10 14:11:36 +0200
committerDave Airlie <airlied@gmail.com>2013-07-23 19:20:19 +1000
commit3dadef6c96c8aa6e67f83b30504256a0605ee4d6 (patch)
treed2b35caff6a606675b411d33e040b5e0326b5aed /include/drm
parent492d774db34fd601b3db17218cf0ae262b51b5cf (diff)
downloadop-kernel-dev-3dadef6c96c8aa6e67f83b30504256a0605ee4d6.zip
op-kernel-dev-3dadef6c96c8aa6e67f83b30504256a0605ee4d6.tar.gz
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 'include/drm')
-rw-r--r--include/drm/drmP.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 523e5f2..4499133 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1133,7 +1133,6 @@ struct drm_device {
__volatile__ long context_flag; /**< Context swapping flag */
__volatile__ long interrupt_flag; /**< Interruption handler flag */
__volatile__ long dma_flag; /**< DMA dispatch flag */
- wait_queue_head_t context_wait; /**< Processes waiting on ctx switch */
int last_checked; /**< Last context checked for DMA */
int last_context; /**< Last current context */
unsigned long last_switch; /**< jiffies at last context switch */
OpenPOWER on IntegriCloud