summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-03-11 12:50:38 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-19 19:10:32 -0700
commit56d110e852b0b1c85ad6c9bfe1cb4473ceb16402 (patch)
tree4a3da02ba790731ee2637c13c4870611b42bff42 /drivers/char/drm
parent05321937469a8592d6a6d35f1d38ca882d243044 (diff)
downloadlinux-56d110e852b0b1c85ad6c9bfe1cb4473ceb16402.tar.gz
linux-56d110e852b0b1c85ad6c9bfe1cb4473ceb16402.tar.bz2
linux-56d110e852b0b1c85ad6c9bfe1cb4473ceb16402.zip
DRM: remove unused dev_class
The struct class_device *dev_class is not used in the struct drm_head structure at all, so remove it as class_device is being removed entirely from the kernel. Cc: David Airlie <airlied@linux.ie> Cc: Tony Jones <tonyj@suse.de> Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/drm')
-rw-r--r--drivers/char/drm/drmP.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h
index 8ea9dd1717a9..6540948d5176 100644
--- a/drivers/char/drm/drmP.h
+++ b/drivers/char/drm/drmP.h
@@ -640,7 +640,6 @@ struct drm_head {
struct drm_device *dev;
struct proc_dir_entry *dev_root; /**< proc directory entry */
dev_t device; /**< Device number for mknod */
- struct class_device *dev_class;
};
/**