Re: [PATCH] staging: sm750fb: remove unused macros in sm750_cursor.c
From: Dan Carpenter
Date: Tue Nov 10 2026 - 00:05:42 EST
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 <platon.ksenzenkokk@xxxxxxxxx>
> ---
Leave this sort of macro. It documents the hardware and doesn't
hurt readability at all.
regards,
dan carpenter