diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-07-10 16:11:41 +0400 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2013-07-23 13:20:24 +0400 |
commit | 494f38e4e0c5ffca110e361cd3391f25313b52c7 (patch) | |
tree | 55a4e4bf47d28840daa8ff503e102ea94368891a | |
parent | 5379dc042257cbf0fa2c54b4fa29d7077da35a25 (diff) | |
download | linux-494f38e4e0c5ffca110e361cd3391f25313b52c7.tar.xz |
drm: kill dev->buf_readers and dev->buf_writers
Again totally unused, so just remove them.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@gmail.com>
-rw-r--r-- | drivers/gpu/drm/drm_fops.c | 2 | ||||
-rw-r--r-- | include/drm/drmP.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c index a3714a0235cb..57e30145f68e 100644 --- a/drivers/gpu/drm/drm_fops.c +++ b/drivers/gpu/drm/drm_fops.c @@ -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"); diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 040369571504..6cde92465130 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -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 */ |