-----Original Message----- From: Intel-gfx <intel-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Luca Coelho Sent: Tuesday, August 13, 2024 7:06 AM To: intel-gfx@xxxxxxxxxxxxxxxxxxxxx Subject: [PATCH] drm/i915/gt: remove stray declaration of intel_gt_release_all() > > When intel_gt_release_all() was removed from the code in commit > e89950553385 ("drm/i915: do not clean GT table on error path"), its > declaration in the header file remained. Remove it. > > Signed-off-by: Luca Coelho <luciano.coelho@xxxxxxxxx> Verified: intel_gt_release_all is no longer in use. Reviewed-by: Jonathan Cavitt <jonathan.cavitt@xxxxxxxxx> -Jonathan Cavitt > --- > > I deliberately have not included a Fixes tag here because this is a > minor clean up and it doesn't make sense to get it into stable > kernels. > > > drivers/gpu/drm/i915/gt/intel_gt.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/gt/intel_gt.h b/drivers/gpu/drm/i915/gt/intel_gt.h > index b73555889d50..998ca029b73a 100644 > --- a/drivers/gpu/drm/i915/gt/intel_gt.h > +++ b/drivers/gpu/drm/i915/gt/intel_gt.h > @@ -174,7 +174,6 @@ static inline bool intel_gt_is_wedged(const struct intel_gt *gt) > > int intel_gt_probe_all(struct drm_i915_private *i915); > int intel_gt_tiles_init(struct drm_i915_private *i915); > -void intel_gt_release_all(struct drm_i915_private *i915); > > #define for_each_gt(gt__, i915__, id__) \ > for ((id__) = 0; \ > -- > 2.39.2 > >