summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-03-11 20:50:38 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-20 04:10:32 +0200
commit56d110e852b0b1c85ad6c9bfe1cb4473ceb16402 (patch)
tree4a3da02ba790731ee2637c13c4870611b42bff42
parentIB: rename "dev" to "srp_dev" in srp_host structure (diff)
downloadlinux-56d110e852b0b1c85ad6c9bfe1cb4473ceb16402.tar.xz
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>
-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;
};
/**