ntb_transport: Remove unnecessary call to ntb_peer_spad_read
authorSteve Wahl <Steve.Wahl@dell.com>
Wed, 21 Dec 2016 16:45:22 +0000 (11:45 -0500)
committerJon Mason <jdmason@kudzu.us>
Fri, 23 Dec 2016 21:11:07 +0000 (16:11 -0500)
The results were previously ignored, anyway.

Signed-off-by: Steve Wahl <Steve.Wahl@dell.com>
Fixes: e26a5843f7f5014ae4460030ca4de029a3ac35d3
Acked-by: Allen Hubbe <Allen.Hubbe@dell.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_transport.c

index 9b791cb33c196886cc3ae8071f3ff28762669d10..f81aa4b18d9f4dd76ec0be63f46865d3b04f89c6 100644 (file)
@@ -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 */