Re: [PATCH] staging: sm750fb: remove unused CRTC cursor fields
From: Greg KH
Date: Thu Oct 15 2026 - 04:47:52 EST
On Thu, Oct 15, 2026 at 04:27:57PM +0800, Xia Yan wrote:
> The v_cursor and o_cursor members of struct lynxfb_crtc are never read
> or written. The cursor setup and update paths use cursor.vstart and
> cursor.offset in the embedded struct lynx_cursor instead.
>
> Remove the unused members to avoid keeping a second, unused set of
> cursor location fields. No functional change is intended.
>
> Assisted-by: LLM
> Signed-off-by: Xia Yan <yana06070@xxxxxxx>
> ---
>
> Notes (validation):
> Compile-tested on x86_64 with GCC 12.3.1 and CONFIG_FB_SM750=m, using W=1.
> All driver objects and the combined sm750fb.o built successfully.
Please read:
https://lore.kernel.org/r/2026080354-skater-urgent-31b2@gregkh