summaryrefslogtreecommitdiff
path: root/net/smc
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-04-01 16:40:29 +0800
committerDavid S. Miller <davem@davemloft.net>2021-04-01 15:52:38 -0700
commitec7e48ca4bc765e5460ec118ff84de6260dac855 (patch)
tree8d575e8b9f9a089a98087d56d8e93b832e4dff92 /net/smc
parent9fadafa46f4813b9e3d8f76d3525c83499a26d36 (diff)
net: smc: Remove repeated struct declaration
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 <wanjiabing@vivo.com> Acked-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc')
-rw-r--r--net/smc/smc_core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/smc/smc_core.h b/net/smc/smc_core.h
index e8e448771f85..6d6fd1397c87 100644
--- a/net/smc/smc_core.h
+++ b/net/smc/smc_core.h
@@ -410,7 +410,6 @@ static inline void smc_set_pci_values(struct pci_dev *pci_dev,
struct smc_sock;
struct smc_clc_msg_accept_confirm;
-struct smc_clc_msg_local;
void smc_lgr_cleanup_early(struct smc_connection *conn);
void smc_lgr_terminate_sched(struct smc_link_group *lgr);