Fix the following coccicheck warning:
./drivers/net/ethernet/cavium/liquidio/cn66xx_regs.h:413:6-28:
duplicated argument to & or |
The CN6XXX_INTR_M1UPB0_ERR here is duplicate.
Here should be CN6XXX_INTR_M1UNB0_ERR.
Signed-off-by: Wan Jiabing
---
drivers/net/ethernet/cavium/liqu
Fix the following coccicheck warning:
./drivers/net/ethernet/sfc/enum.h:80:7-28: duplicated argument to |
Signed-off-by: Wan Jiabing
---
drivers/net/ethernet/sfc/enum.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/sfc/enum.h b/drivers/net/ethernet/sfc/enum.h
index
struct smc_clc_msg_local is declared twice. One is declared at
301st line. The blew one is not needed. Remove the duplicate.
Signed-off-by: Wan Jiabing
---
net/smc/smc_core.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/smc/smc_core.h b/net/smc/smc_core.h
index e8e448771f85
struct btf_type is declared twice. One is declared at 35th line.
The blew one is not needed. Remove the duplicate.
Signed-off-by: Wan Jiabing
---
include/linux/bpf.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/bpf.h b/include/linux/bpf.h
index 3625f019767d..2fd8e775a17e
struct ctl_table_header is declared twice. One is declared
at 46th line. The blew one is not needed. Remove the duplicate.
Signed-off-by: Wan Jiabing
---
include/net/net_namespace.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
struct bpf_prog is declared twice. There is one declaration
which is independent on the MACRO at 18th line.
So the below one is not needed though. Remove the duplicate.
Signed-off-by: Wan Jiabing
---
include/linux/bpf-cgroup.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/bpf
struct stmmac_safety_stats is declared twice. One has been
declared at 29th line. Remove the duplicate.
Signed-off-by: Wan Jiabing
---
drivers/net/ethernet/stmicro/stmmac/hwif.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/hwif.h
b/drivers/net/ethernet
struct lbtf_private is declared twice. One has been declared
at 157th line. Remove the duplicate.
Signed-off-by: Wan Jiabing
---
drivers/net/wireless/marvell/libertas_tf/libertas_tf.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/wireless/marvell/libertas_tf/libertas_tf.h
b
struct wilc is declared twice. One has been declared
at 352nd line. Remove the duplicate.
Signed-off-by: Wan Jiabing
---
drivers/net/wireless/microchip/wilc1000/wlan.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/wireless/microchip/wilc1000/wlan.h
b/drivers/net/wireless
struct brcmf_bus is declared twice. One has been declared
at 37th line. Remove the duplicate.
Signed-off-by: Wan Jiabing
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h
b
This patch series tried to remove duplicate struct declaration.
Wan Jiabing (4):
net: wireless: broadcom: Remove duplicate struct declaration
net: wireless: microchip: Remove duplicate struct declaration
net: wireless: marvell: Remove duplicate struct declaration
net: ethernet: stmicro
struct sock has been declared. Remove the duplicate.
Signed-off-by: Wan Jiabing
---
include/net/bpf_sk_storage.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/net/bpf_sk_storage.h b/include/net/bpf_sk_storage.h
index 0e85713f56df..2926f1f00d65 100644
--- a/include/net
struct lbs_private has been declared at 22nd line.
Remove the duplicate.
Signed-off-by: Wan Jiabing
---
drivers/net/wireless/marvell/libertas/decl.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/wireless/marvell/libertas/decl.h
b/drivers/net/wireless/marvell/libertas/decl.h
struct sk_buff has been declared. Remove the duplicate.
Signed-off-by: Wan Jiabing
---
drivers/net/ethernet/netronome/nfp/nfp_app.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/netronome/nfp/nfp_app.h
b/drivers/net/ethernet/netronome/nfp/nfp_app.h
index 76d13af46a7a
linux/regmap.h has been included at line 13, so remove the
duplicate one at line 14.
Signed-off-by: Wan Jiabing
---
drivers/net/can/m_can/tcan4x5x.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/can/m_can/tcan4x5x.h b/drivers/net/can/m_can/tcan4x5x.h
index c66da829b795
vhca_event.h has been included at line 4, so remove the
duplicate one at line 8.
Signed-off-by: Wan Jiabing
---
drivers/net/ethernet/mellanox/mlx5/core/sf/hw_table.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/sf/hw_table.c
b/drivers/net/ethernet
indir_table.h has been included at line 41, so remove
the duplicate one at line 43.
Signed-off-by: Wan Jiabing
---
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
b/drivers
17 matches
Mail list logo