Re: [PATCH v3] drm/bridge: analogix_dp: Drop dead error check for analogix_dp_init_analog_func()
From: Luca Ceresoli
Date: Tue Dec 01 2026 - 03:14:35 EST
On Wed Nov 11, 2026 at 10:48 AM CET, Xiangwu Lai wrote:
> analogix_dp_init_analog_func() cannot fail: since commit 917c8d192ba6ad
> ("drm/bridge: analogix_dp: don't wait for PLL lock too early") removed
> the PLL lock polling loop, the function only performs register writes
> and always returns 0. The error check on its return value in
> analogix_dp_set_bridge() is therefore dead code.
>
> Drop the dead check and make the function void.
>
> Signed-off-by: Xiangwu Lai <laixiangwu@xxxxxxxxxxxxxxxxxxxx>
Reviewed-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com