]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: remove redundant config PCI dependency for some network driver configs
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Wed, 11 Jan 2023 12:58:55 +0000 (13:58 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Jan 2023 05:38:10 +0000 (21:38 -0800)
commit5bee990f490a6c1bea5bba431e2ffe387e6b1b3f
tree37b72da77d7e5165b49696b370d518a8f91a073f
parenta1cf597b99a7276c2103327b5633ef1d7a0f3a93
net: remove redundant config PCI dependency for some network driver configs

While reviewing dependencies in some Kconfig files, I noticed the redundant
dependency "depends on PCI && PCI_MSI". The config PCI_MSI has always,
since its introduction, been dependent on the config PCI. So, it is
sufficient to just depend on PCI_MSI, and know that the dependency on PCI
is implicitly implied.

Reduce the dependencies of some network driver configs.
No functional change and effective change of Kconfig dependendencies.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Acked-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Dimitris Michailidis <dmichail@fungible.com>
Link: https://lore.kernel.org/r/20230111125855.19020-1-lukas.bulwahn@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/enetc/Kconfig
drivers/net/ethernet/fungible/funeth/Kconfig
drivers/net/ethernet/netronome/Kconfig