Skip to content

Commit dfb7d24

Browse files
Steve Wahljonmason
authored andcommitted
ntb_transport: Remove unnecessary call to ntb_peer_spad_read
The results were previously ignored, anyway. Signed-off-by: Steve Wahl <Steve.Wahl@dell.com> Fixes: e26a584 Acked-by: Allen Hubbe <Allen.Hubbe@dell.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
1 parent 28734e8 commit dfb7d24

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/ntb/ntb_transport.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,6 @@ static void ntb_qp_link_work(struct work_struct *work)
959959
ntb_peer_spad_write(nt->ndev, QP_LINKS, val | BIT(qp->qp_num));
960960

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

965964
/* See if the remote side is up */

0 commit comments

Comments
 (0)