Commit 56d110e8 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 05321937
...@@ -640,7 +640,6 @@ struct drm_head { ...@@ -640,7 +640,6 @@ struct drm_head {
struct drm_device *dev; struct drm_device *dev;
struct proc_dir_entry *dev_root; /**< proc directory entry */ struct proc_dir_entry *dev_root; /**< proc directory entry */
dev_t device; /**< Device number for mknod */ dev_t device; /**< Device number for mknod */
struct class_device *dev_class;
}; };
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment