public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] drm/i915/utils: remove unused KBps/MBps/GBps macros
@ 2022-08-15  8:09 Jani Nikula
  2022-08-15  8:36 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jani Nikula @ 2022-08-15  8:09 UTC (permalink / raw)
  To: intel-gfx; +Cc: jani.nikula

Remove unused macros. If needed again, such macros belong in
<linux/units.h>.

Signed-off-by: Jani Nikula <jani.nikula@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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-24 20:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-15  8:09 [Intel-gfx] [PATCH] drm/i915/utils: remove unused KBps/MBps/GBps macros Jani Nikula
2022-08-15  8:36 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for " Patchwork
2022-08-15  8:56 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-08-15 11:37 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2022-08-23 12:27 ` [Intel-gfx] [PATCH] " Matthew Auld
2022-08-23 14:03   ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox