Skip to content

Commit

Permalink
drm: kill dev->buf_readers and dev->buf_writers
Browse files Browse the repository at this point in the history
Again totally unused, so just remove them.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@gmail.com>
  • Loading branch information
Daniel Vetter authored and Dave Airlie committed Jul 23, 2013
1 parent 5379dc0 commit 494f38e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/drm_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
2 changes: 0 additions & 2 deletions include/drm/drmP.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 494f38e

Please sign in to comment.