public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: smc: Remove repeated struct declaration
@ 2021-04-01  8:40 Wan Jiabing
  2021-04-01 13:47 ` Karsten Graul
  2021-04-01 23:20 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Wan Jiabing @ 2021-04-01  8:40 UTC (permalink / raw)
  To: Karsten Graul, David S. Miller, Jakub Kicinski, linux-s390,
	netdev, linux-kernel
  Cc: kael_w, Wan Jiabing

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>
---
 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..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);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-01 23:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-01  8:40 [PATCH] net: smc: Remove repeated struct declaration Wan Jiabing
2021-04-01 13:47 ` Karsten Graul
2021-04-01 23:20 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox