Skip to content

Commit

Permalink
ntb_transport: Remove unnecessary call to ntb_peer_spad_read
Browse files Browse the repository at this point in the history
The results were previously ignored, anyway.

Signed-off-by: Steve Wahl <[email protected]>
Fixes: e26a584
Acked-by: Allen Hubbe <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
  • Loading branch information
Steve Wahl authored and jonmason committed Dec 23, 2016
1 parent 28734e8 commit dfb7d24
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/ntb/ntb_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,6 @@ static void ntb_qp_link_work(struct work_struct *work)
ntb_peer_spad_write(nt->ndev, QP_LINKS, val | BIT(qp->qp_num));

/* query remote spad for qp ready bits */
ntb_peer_spad_read(nt->ndev, QP_LINKS);
dev_dbg_ratelimited(&pdev->dev, "Remote QP link status = %x\n", val);

/* See if the remote side is up */
Expand Down

0 comments on commit dfb7d24

Please sign in to comment.