Commit dfb7d24c authored by Steve Wahl's avatar Steve Wahl Committed by Jon Mason

ntb_transport: Remove unnecessary call to ntb_peer_spad_read

The results were previously ignored, anyway.
Signed-off-by: default avatarSteve Wahl <Steve.Wahl@dell.com>
Fixes: e26a5843Acked-by: default avatarAllen Hubbe <Allen.Hubbe@dell.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent 28734e8f
...@@ -959,7 +959,6 @@ static void ntb_qp_link_work(struct work_struct *work) ...@@ -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)); ntb_peer_spad_write(nt->ndev, QP_LINKS, val | BIT(qp->qp_num));
/* query remote spad for qp ready bits */ /* 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); dev_dbg_ratelimited(&pdev->dev, "Remote QP link status = %x\n", val);
/* See if the remote side is up */ /* See if the remote side is up */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment