[PATCH v7 01/30] drm/fb-helper: Remove unused local variable in hotplug_event()

Maxime Ripard mripard at kernel.org
Thu Jun 11 02:49:02 PDT 2026


On Tue, 2 Jun 2026 01:44:01 +0300, Cristian Ciocaltea wrote:
> Remove the 'err' local variable in drm_fb_helper_hotplug_event() which
> only stores a return value that is never used beyond the immediate
> return statement.  This simplifies the code without behavior changes.
> 
> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea at collabora.com>
> 
> [ ... ]

Acked-by: Maxime Ripard <mripard at kernel.org>

Thanks!
Maxime



More information about the linux-arm-kernel mailing list