Re: [PATCH] ppp: dead code cleanup in Kconfig
From: Qingfang Deng
Date: Tue Mar 31 2026 - 01:57:14 EST
On Mon, 30 Mar 2026 22:32:58 +0100, Julian Braha wrote:
> There is already an 'if PPP' condition wrapping several config options
> e.g. PPP_MPPE and PPPOE, making the 'depends on PPP' statement for each of
> these a duplicate dependency (dead code).
>
> I propose leaving the outer 'if PPP...endif' and removing the individual
> 'depends on PPP' statement from each option.
>
> This dead code was found by kconfirm, a static analysis tool for Kconfig.
>
> Signed-off-by: Julian Braha <julianbraha@xxxxxxxxx>
Reviewed-by: Qingfang Deng <dqfext@xxxxxxxxx>