aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/drm/drm_fops.c
diff options
context:
space:
mode:
authorDave Airlie2005-10-24 18:45:11 +1000
committerDave Airlie2005-10-24 18:45:11 +1000
commita4e62fa031a9681477207b08391c3a5c5c831ce7 (patch)
treee635167a89bc286febe64527f308c74f02630f93 /drivers/char/drm/drm_fops.c
parent67e1a014fbc0e472ccc55766a63640a767ede3bf (diff)
drm: remove unused components of drm structures
These haven't been used in quite a long time, takes 1K buffer out of structures. Signed-off-by: Dave Airlie <airlied@linux.ie>
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)
dev->ctx_start = 0;
dev->lck_start = 0;
- dev->buf_rp = dev->buf;
- dev->buf_wp = dev->buf;
- dev->buf_end = dev->buf + DRM_BSZ;
dev->buf_async = NULL;
init_waitqueue_head(&dev->buf_readers);
init_waitqueue_head(&dev->buf_writers);