From 56d110e852b0b1c85ad6c9bfe1cb4473ceb16402 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 11 Mar 2008 12:50:38 -0700 Subject: [PATCH] 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 Cc: Tony Jones Cc: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- drivers/char/drm/drmP.h | 1 - 1 file changed, 1 deletion(-) 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; }; /** -- 2.20.1