drm: kill dev->buf_readers and dev->buf_writers
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Jul 2013 12:11:41 +0000 (14:11 +0200)
committerDave Airlie <airlied@gmail.com>
Tue, 23 Jul 2013 09:20:24 +0000 (19:20 +1000)
Again totally unused, so just remove them.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/drm_fops.c
include/drm/drmP.h

index a3714a0235cb5667a0ec6cec0eb7ae2b87a8f880..57e30145f68ed47eebb1259a184d2b9c8726921b 100644 (file)
@@ -81,8 +81,6 @@ static int drm_setup(struct drm_device * dev)
        dev->if_version = 0;
 
        dev->buf_async = NULL;
-       init_waitqueue_head(&dev->buf_readers);
-       init_waitqueue_head(&dev->buf_writers);
 
        DRM_DEBUG("\n");
 
index 0403695715043090ccad682afb6ba76080fd8e23..6cde924651300f30e5781e48b337f3059a4be82e 100644 (file)
@@ -1172,8 +1172,6 @@ struct drm_device {
        /*@} */
 
        struct fasync_struct *buf_async;/**< Processes waiting for SIGIO */
-       wait_queue_head_t buf_readers;  /**< Processes waiting to read */
-       wait_queue_head_t buf_writers;  /**< Processes waiting to ctx switch */
 
        struct drm_agp_head *agp;       /**< AGP data */