OSDN Git Service

net: smc: Remove repeated struct declaration
authorWan Jiabing <wanjiabing@vivo.com>
Thu, 1 Apr 2021 08:40:29 +0000 (16:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Apr 2021 22:52:38 +0000 (15:52 -0700)
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>
net/smc/smc_core.h

index e8e4487..6d6fd13 100644 (file)
@@ -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);