Message ID | 20221003170242.1246830-1-gwan-gyeong.mun@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/i915/gt: Remove unused function prototype | expand |
Hi G.G. On Mon, Oct 03, 2022 at 08:02:42PM +0300, Gwan-gyeong Mun wrote: > Remove unused function prototype; intel_gt_create_kobj() > > Cc: Andi Shyti <andi.shyti@linux.intel.com> > Signed-off-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> > --- > drivers/gpu/drm/i915/gt/intel_gt_sysfs.h | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/drivers/gpu/drm/i915/gt/intel_gt_sysfs.h b/drivers/gpu/drm/i915/gt/intel_gt_sysfs.h > index 6232923a420d..d637c6c3a69f 100644 > --- a/drivers/gpu/drm/i915/gt/intel_gt_sysfs.h > +++ b/drivers/gpu/drm/i915/gt/intel_gt_sysfs.h > @@ -18,11 +18,6 @@ bool is_object_gt(struct kobject *kobj); > > struct drm_i915_private *kobj_to_i915(struct kobject *kobj); > > -struct kobject * > -intel_gt_create_kobj(struct intel_gt *gt, > - struct kobject *dir, > - const char *name); > - this must be some leftover after some refactoring. Thanks for spotting it: Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Andi > static inline struct intel_gt *kobj_to_gt(struct kobject *kobj) > { > return container_of(kobj, struct intel_gt, sysfs_gt); > -- > 2.37.1
Hi G.G. On Mon, Oct 03, 2022 at 08:02:42PM +0300, Gwan-gyeong Mun wrote: > Remove unused function prototype; intel_gt_create_kobj() > > Cc: Andi Shyti <andi.shyti@linux.intel.com> > Signed-off-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> and pushed in intel-drm-intel-gt-next! Thank you! Andi > --- > drivers/gpu/drm/i915/gt/intel_gt_sysfs.h | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/drivers/gpu/drm/i915/gt/intel_gt_sysfs.h b/drivers/gpu/drm/i915/gt/intel_gt_sysfs.h > index 6232923a420d..d637c6c3a69f 100644 > --- a/drivers/gpu/drm/i915/gt/intel_gt_sysfs.h > +++ b/drivers/gpu/drm/i915/gt/intel_gt_sysfs.h > @@ -18,11 +18,6 @@ bool is_object_gt(struct kobject *kobj); > > struct drm_i915_private *kobj_to_i915(struct kobject *kobj); > > -struct kobject * > -intel_gt_create_kobj(struct intel_gt *gt, > - struct kobject *dir, > - const char *name); > - > static inline struct intel_gt *kobj_to_gt(struct kobject *kobj) > { > return container_of(kobj, struct intel_gt, sysfs_gt); > -- > 2.37.1
diff --git a/drivers/gpu/drm/i915/gt/intel_gt_sysfs.h b/drivers/gpu/drm/i915/gt/intel_gt_sysfs.h index 6232923a420d..d637c6c3a69f 100644 --- a/drivers/gpu/drm/i915/gt/intel_gt_sysfs.h +++ b/drivers/gpu/drm/i915/gt/intel_gt_sysfs.h @@ -18,11 +18,6 @@ bool is_object_gt(struct kobject *kobj); struct drm_i915_private *kobj_to_i915(struct kobject *kobj); -struct kobject * -intel_gt_create_kobj(struct intel_gt *gt, - struct kobject *dir, - const char *name); - static inline struct intel_gt *kobj_to_gt(struct kobject *kobj) { return container_of(kobj, struct intel_gt, sysfs_gt);
Remove unused function prototype; intel_gt_create_kobj() Cc: Andi Shyti <andi.shyti@linux.intel.com> Signed-off-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> --- drivers/gpu/drm/i915/gt/intel_gt_sysfs.h | 5 ----- 1 file changed, 5 deletions(-)