# Re: \[PATCH\] staging: sm750fb: remove unused macros in sm750\_cursor.c

- From: Dan Carpenter \<hidden\>
- Date: 2026-11-10 05:00:33 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2026/11/17903020
- Thread: https://ratatoskr.run/linux-fbdev/2026/11/17900671/t.md

```text
On Tue, Nov 10, 2026 at 12:14:14AM +0100, Platon Miller wrote:
> 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 <redacted>
> ---

Leave this sort of macro.  It documents the hardware and doesn't
hurt readability at all.

regards,
dan carpenter

```
