drm/i915/display: Remove unused POWER_DOMAIN_MASK
authorGustavo Sousa <gustavo.sousa@intel.com>
Tue, 15 Aug 2023 20:13:44 +0000 (17:13 -0300)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 16 Aug 2023 19:14:36 +0000 (12:14 -0700)
That macro became unused with commit 323286c81245 ("drm/i915: Move the
power domain->well mappings to intel_display_power_map.c").

Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230815201344.298573-1-gustavo.sousa@intel.com
drivers/gpu/drm/i915/display/intel_display_power.c

index 9e01054c243001a73934db472b8031ca3e371a3b..71d70bd9fd826d6e66c8f3866fd5b39633d9a322 100644 (file)
@@ -338,8 +338,6 @@ unlock:
        mutex_unlock(&power_domains->lock);
 }
 
-#define POWER_DOMAIN_MASK (GENMASK_ULL(POWER_DOMAIN_NUM - 1, 0))
-
 static void __async_put_domains_mask(struct i915_power_domains *power_domains,
                                     struct intel_power_domain_mask *mask)
 {