[Intel-gfx] [PATCH] drm/i915/utils: remove unused KBps/MBps/GBps macros
Matthew Auld
matthew.william.auld at gmail.com
Tue Aug 23 12:27:06 UTC 2022
On Mon, 15 Aug 2022 at 09:09, Jani Nikula <jani.nikula at intel.com> wrote:
>
> Remove unused macros. If needed again, such macros belong in
> <linux/units.h>.
>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>
> ---
> drivers/gpu/drm/i915/i915_utils.h | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_utils.h b/drivers/gpu/drm/i915/i915_utils.h
> index c10d68cdc3ca..6c14d13364bf 100644
> --- a/drivers/gpu/drm/i915/i915_utils.h
> +++ b/drivers/gpu/drm/i915/i915_utils.h
> @@ -360,10 +360,6 @@ wait_remaining_ms_from_jiffies(unsigned long timestamp_jiffies, int to_wait_ms)
> #define KHz(x) (1000 * (x))
> #define MHz(x) KHz(1000 * (x))
>
> -#define KBps(x) (1000 * (x))
> -#define MBps(x) KBps(1000 * (x))
> -#define GBps(x) ((u64)1000 * MBps((x)))
> -
> void add_taint_for_CI(struct drm_i915_private *i915, unsigned int taint);
> static inline void __add_taint_for_CI(unsigned int taint)
> {
> --
> 2.34.1
>
More information about the Intel-gfx
mailing list