summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_fops.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2005-10-24 10:45:11 +0200
committerDave Airlie <airlied@linux.ie>2005-10-24 10:45:11 +0200
commita4e62fa031a9681477207b08391c3a5c5c831ce7 (patch)
treee635167a89bc286febe64527f308c74f02630f93 /drivers/char/drm/drm_fops.c
parentdrm: fix warning on 64-bit platforms.. (diff)
downloadlinux-a4e62fa031a9681477207b08391c3a5c5c831ce7.tar.xz
linux-a4e62fa031a9681477207b08391c3a5c5c831ce7.zip
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);