From: Wan Jiabing Date: Thu, 1 Apr 2021 08:40:29 +0000 (+0800) Subject: net: smc: Remove repeated struct declaration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ec7e48ca4bc765e5460ec118ff84de6260dac855;p=linux.git 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 Acked-by: Karsten Graul Signed-off-by: David S. Miller --- diff --git a/net/smc/smc_core.h b/net/smc/smc_core.h index e8e448771f853..6d6fd1397c87d 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);