From: Greg Kroah-Hartman Date: Tue, 11 Mar 2008 19:50:38 +0000 (-0700) Subject: DRM: remove unused dev_class X-Git-Tag: v2.6.26-rc1~1126^2~1 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=56d110e852b0b1c85ad6c9bfe1cb4473ceb16402;p=~emulex%2Finfiniband.git 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 --- diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h index 8ea9dd1717a..6540948d517 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; }; /**