mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 14:33:24 -04:00
net: fec: remove reference to nonexistent CONFIG_GILBARCONAP option
The CONFIG_GILBARCONAP option has never been defined by the kernel, but is referred to by drivers/net/ethernet/freescale/fec_main.c. Remove this reference to eliminate dead code. Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file. Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com> Reviewed-by: Wei Fang <wei.fang@nxp.com> Link: https://patch.msgid.link/20260609045200.32606-1-enelsonmoore@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
65440a8ce4
commit
f8142f5578
@@ -218,7 +218,7 @@ MODULE_PARM_DESC(macaddr, "FEC Ethernet MAC address");
|
||||
*/
|
||||
#if defined(CONFIG_NETtel)
|
||||
#define FEC_FLASHMAC 0xf0006006
|
||||
#elif defined(CONFIG_GILBARCONAP) || defined(CONFIG_SCALES)
|
||||
#elif defined(CONFIG_SCALES)
|
||||
#define FEC_FLASHMAC 0xf0006000
|
||||
#elif defined(CONFIG_CANCam)
|
||||
#define FEC_FLASHMAC 0xf0020000
|
||||
|
||||
Reference in New Issue
Block a user