diff mbox series

net: smc: Remove repeated struct declaration

Message ID 20210401084030.1002882-1-wanjiabing@vivo.com
State New
Headers show
Series net: smc: Remove repeated struct declaration | expand

Commit Message

Wan Jiabing April 1, 2021, 8:40 a.m. UTC
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(-)

Comments

Karsten Graul April 1, 2021, 1:47 p.m. UTC | #1
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>
patchwork-bot+netdevbpf@kernel.org April 1, 2021, 11:20 p.m. UTC | #2
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
diff mbox series

Patch

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