Skip to content

Commit 56d110e

Browse files
committed
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 <[email protected]> Cc: Tony Jones <[email protected]> Cc: Kay Sievers <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 0532193 commit 56d110e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/char/drm/drmP.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,6 @@ struct drm_head {
640640
struct drm_device *dev;
641641
struct proc_dir_entry *dev_root; /**< proc directory entry */
642642
dev_t device; /**< Device number for mknod */
643-
struct class_device *dev_class;
644643
};
645644

646645
/**

0 commit comments

Comments
 (0)