Re: [PATCH net v3 02/14] net: pse-pd: remove dead pi_get_admin_state() checks
From: Kory Maincent
Date: Wed Nov 04 2026 - 10:31:20 EST
On Tue, 03 Nov 2026 23:02:05 +0100, Carlo Szelinsky <github@xxxxxxxxxxxx> wrote:
> pse_controller_register() already fails when a driver has no
> pi_get_admin_state() callback. So the checks for it in
> pse_pi_is_enabled() and pse_control_get_internal() are never true.
> Remove them.
>
> No functional change. It makes the next patch, which fixes an error
> path in pse_control_get_internal(), smaller.
>
> [...]
Reviewed-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com