* [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
* Re: [PATCH] net: smc: Remove repeated struct declaration
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
1 sibling, 0 replies; 3+ messages in thread
From: Karsten Graul @ 2021-04-01 13:47 UTC (permalink / raw)
To: Wan Jiabing, David S. Miller, Jakub Kicinski, linux-s390, netdev,
linux-kernel
Cc: kael_w
On 01/04/2021 10:40, Wan Jiabing wrote:
> 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(-)
>
Acked-by: Karsten Graul <kgraul@linux.ibm.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] net: smc: Remove repeated struct declaration
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
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-04-01 23:20 UTC (permalink / raw)
To: Wan Jiabing; +Cc: kgraul, davem, kuba, linux-s390, netdev, linux-kernel, kael_w
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Thu, 1 Apr 2021 16:40:29 +0800 you wrote:
> 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(-)
Here is the summary with links:
- net: smc: Remove repeated struct declaration
https://git.kernel.org/netdev/net-next/c/ec7e48ca4bc7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [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;
as well as URLs for NNTP newsgroup(s).