aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_fops.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/drm_fops.c')
-rw-r--r--drivers/char/drm/drm_fops.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/drm/drm_fops.c b/drivers/char/drm/drm_fops.c
index e0124a9ba14a..bf0a740122bf 100644
--- a/drivers/char/drm/drm_fops.c
+++ b/drivers/char/drm/drm_fops.c
@@ -96,9 +96,6 @@ static int drm_setup(drm_device_t * dev)
96 dev->ctx_start = 0; 96 dev->ctx_start = 0;
97 dev->lck_start = 0; 97 dev->lck_start = 0;
98 98
99 dev->buf_rp = dev->buf;
100 dev->buf_wp = dev->buf;
101 dev->buf_end = dev->buf + DRM_BSZ;
102 dev->buf_async = NULL; 99 dev->buf_async = NULL;
103 init_waitqueue_head(&dev->buf_readers); 100 init_waitqueue_head(&dev->buf_readers);
104 init_waitqueue_head(&dev->buf_writers); 101 init_waitqueue_head(&dev->buf_writers);