Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Julian Braha and committed by
Jakub Kicinski
48c6255c 6152f40d

-4
-4
drivers/net/ethernet/microchip/fdma/Kconfig
··· 3 3 # Microchip FDMA API configuration 4 4 # 5 5 6 - if NET_VENDOR_MICROCHIP 7 - 8 6 config FDMA 9 7 bool "FDMA API" if COMPILE_TEST 10 8 help ··· 12 14 Say Y here if you want to build the FDMA API that provides a common 13 15 set of functions and data structures for interacting with the Frame 14 16 DMA engine in multiple microchip switchcores. 15 - 16 - endif # NET_VENDOR_MICROCHIP