Skip to content

Commit

Permalink
net/smc: Remove unused function declaration
Browse files Browse the repository at this point in the history
The declaration of smc_wr_tx_dismiss_slots() is unused.
So remove it.

Fixes: 349d431 ("net/smc: fix kernel panic caused by race of smc_sock")
Signed-off-by: Wen Gu <[email protected]>
Reviewed-by: Dust Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Wen Gu authored and davem330 committed Jan 15, 2022
1 parent f542cdf commit 9404bc1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/smc/smc_wr.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,6 @@ int smc_wr_tx_v2_send(struct smc_link *link,
int smc_wr_tx_send_wait(struct smc_link *link, struct smc_wr_tx_pend_priv *priv,
unsigned long timeout);
void smc_wr_tx_cq_handler(struct ib_cq *ib_cq, void *cq_context);
void smc_wr_tx_dismiss_slots(struct smc_link *lnk, u8 wr_rx_hdr_type,
smc_wr_tx_filter filter,
smc_wr_tx_dismisser dismisser,
unsigned long data);
void smc_wr_tx_wait_no_pending_sends(struct smc_link *link);

int smc_wr_rx_register_handler(struct smc_wr_rx_handler *handler);
Expand Down

0 comments on commit 9404bc1

Please sign in to comment.