octeontx2-pf: Remove duplicate MACSEC setting

Message ID 20221119133616.3583538-1-zhengbin13@huawei.com
State New
Headers
Series octeontx2-pf: Remove duplicate MACSEC setting |

Commit Message

Zheng Bin Nov. 19, 2022, 1:36 p.m. UTC
  Commit 4581dd480c9e ("net: octeontx2-pf: mcs: consider MACSEC setting")
has already added "depends on MACSEC || !MACSEC", so remove it.

Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
---
 drivers/net/ethernet/marvell/octeontx2/Kconfig | 1 -
 1 file changed, 1 deletion(-)

--
2.31.1
  

Comments

Randy Dunlap Nov. 19, 2022, 5:14 p.m. UTC | #1
On 11/19/22 05:36, Zheng Bin wrote:
> Commit 4581dd480c9e ("net: octeontx2-pf: mcs: consider MACSEC setting")
> has already added "depends on MACSEC || !MACSEC", so remove it.
> 
> Signed-off-by: Zheng Bin <zhengbin13@huawei.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.


> ---
>  drivers/net/ethernet/marvell/octeontx2/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/marvell/octeontx2/Kconfig b/drivers/net/ethernet/marvell/octeontx2/Kconfig
> index 6b4f640163f7..993ac180a5db 100644
> --- a/drivers/net/ethernet/marvell/octeontx2/Kconfig
> +++ b/drivers/net/ethernet/marvell/octeontx2/Kconfig
> @@ -32,7 +32,6 @@ config OCTEONTX2_PF
>  	tristate "Marvell OcteonTX2 NIC Physical Function driver"
>  	select OCTEONTX2_MBOX
>  	select NET_DEVLINK
> -	depends on MACSEC || !MACSEC
>  	depends on (64BIT && COMPILE_TEST) || ARM64
>  	select DIMLIB
>  	depends on PCI
> --
> 2.31.1
>
  
patchwork-bot+netdevbpf@kernel.org Nov. 22, 2022, 12:50 p.m. UTC | #2
Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@redhat.com>:

On Sat, 19 Nov 2022 21:36:16 +0800 you wrote:
> Commit 4581dd480c9e ("net: octeontx2-pf: mcs: consider MACSEC setting")
> has already added "depends on MACSEC || !MACSEC", so remove it.
> 
> Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
> ---
>  drivers/net/ethernet/marvell/octeontx2/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> [...]

Here is the summary with links:
  - octeontx2-pf: Remove duplicate MACSEC setting
    https://git.kernel.org/netdev/net/c/bb3cfbaf7c64

You are awesome, thank you!
  

Patch

diff --git a/drivers/net/ethernet/marvell/octeontx2/Kconfig b/drivers/net/ethernet/marvell/octeontx2/Kconfig
index 6b4f640163f7..993ac180a5db 100644
--- a/drivers/net/ethernet/marvell/octeontx2/Kconfig
+++ b/drivers/net/ethernet/marvell/octeontx2/Kconfig
@@ -32,7 +32,6 @@  config OCTEONTX2_PF
 	tristate "Marvell OcteonTX2 NIC Physical Function driver"
 	select OCTEONTX2_MBOX
 	select NET_DEVLINK
-	depends on MACSEC || !MACSEC
 	depends on (64BIT && COMPILE_TEST) || ARM64
 	select DIMLIB
 	depends on PCI