[PATCH] drm/i915/gt: remove stray declaration of intel_gt_release_all()

Luca Coelho luciano.coelho at intel.com
Tue Aug 13 14:06:18 UTC 2024


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 at intel.com>
---

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



More information about the Intel-gfx mailing list