]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: microchip: dead code cleanup in kconfig for FDMA
authorJulian Braha <julianbraha@gmail.com>
Sun, 29 Mar 2026 18:53:48 +0000 (19:53 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 2 Apr 2026 02:50:12 +0000 (19:50 -0700)
commit48c6255cda812b04a23d92bdc82eb523d9abd712
treeda355f13fb383e318c82fb48be148d28f88d2d3e
parent6152f40d4f9337b3f2090d0cffeb13831c3cefc6
net: microchip: dead code cleanup in kconfig for FDMA

The Kconfig in the parent directory already has the first 'if NET_VENDOR_MICROCHIP'
gating the inclusion of this Kconfig, meaning that the second
'if NET_VENDOR_MICROCHIP' condition is effectively dead code.

I propose removing the second 'if NET_VENDOR_MICROCHIP' in
drivers/net/ethernet/microchip/fdma/Kconfig

This dead code was found by kconfirm, a static analysis tool for Kconfig.

Signed-off-by: Julian Braha <julianbraha@gmail.com>
Link: https://patch.msgid.link/20260329185348.526893-1-julianbraha@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/fdma/Kconfig