Skip to content

Commit

Permalink
net: smc: Remove repeated struct declaration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wan Jiabing authored and David S. Miller committed Apr 1, 2021
1 parent 9fadafa commit ec7e48c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/smc/smc_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ec7e48c

Please sign in to comment.