提交 dfb7d24c 编写于 作者: S Steve Wahl 提交者: Jon Mason

ntb_transport: Remove unnecessary call to ntb_peer_spad_read

The results were previously ignored, anyway.
Signed-off-by: NSteve Wahl <Steve.Wahl@dell.com>
Fixes: e26a5843Acked-by: NAllen Hubbe <Allen.Hubbe@dell.com>
Signed-off-by: NJon Mason <jdmason@kudzu.us>
上级 28734e8f
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册