]> git.ipfire.org Git - thirdparty/linux.git/commit
ppp: dead code cleanup in Kconfig
authorJulian Braha <julianbraha@gmail.com>
Mon, 30 Mar 2026 21:32:58 +0000 (22:32 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 2 Apr 2026 01:51:59 +0000 (18:51 -0700)
commit4cbcf82e26b6324a56c6d9c5bc49d59b6076b54d
tree8f2f4d394b9f4c41f9919ec009c38ea69dc28af1
parent63081dec9e370ac0a1f53565ffa693274630380e
ppp: dead code cleanup in Kconfig

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@gmail.com>
Reviewed-by: Qingfang Deng <dqfext@gmail.com>
Link: https://patch.msgid.link/20260330213258.13982-1-julianbraha@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ppp/Kconfig