[PATCH] staging: sm750fb: remove unused macros in sm750_cursor.c
From: Platon Miller
Date: Mon Nov 09 2026 - 18:14:39 EST
The macros HWC_ADDRESS_EXT, HWC_ADDRESS_CS, HWC_LOCATION_TOP, and
HWC_LOCATION_LEFT are defined in sm750_cursor.c but are never used
anywhere in the driver. Remove them to clean up unused code as
specified in drivers/staging/sm750fb/TODO.
Signed-off-by: Platon Miller <platon.ksenzenkokk@xxxxxxxxx>
---
drivers/staging/sm750fb/sm750_cursor.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c
index f822d147e..571cf86fd 100644
--- a/drivers/staging/sm750fb/sm750_cursor.c
+++ b/drivers/staging/sm750fb/sm750_cursor.c
@@ -10,15 +10,11 @@ writel((data), cursor->mmio + (addr))
/* cursor control for voyager and 718/750*/
#define HWC_ADDRESS 0x0
#define HWC_ADDRESS_ENABLE BIT(31)
-#define HWC_ADDRESS_EXT BIT(27)
-#define HWC_ADDRESS_CS BIT(26)
#define HWC_ADDRESS_ADDRESS_MASK 0x3ffffff
#define HWC_LOCATION 0x4
-#define HWC_LOCATION_TOP BIT(27)
#define HWC_LOCATION_Y_SHIFT 16
#define HWC_LOCATION_Y_MASK (0x7ff << 16)
-#define HWC_LOCATION_LEFT BIT(11)
#define HWC_LOCATION_X_MASK 0x7ff
#define HWC_COLOR_12 0x8
--
2.56.0