From: Steve Wahl Date: Wed, 21 Dec 2016 16:45:22 +0000 (-0500) Subject: ntb_transport: Remove unnecessary call to ntb_peer_spad_read X-Git-Tag: v4.14-rc1~1782^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dfb7d24c5ad5c986f2417f52784738b67cfedd4d;p=platform%2Fkernel%2Flinux-rpi.git ntb_transport: Remove unnecessary call to ntb_peer_spad_read The results were previously ignored, anyway. Signed-off-by: Steve Wahl Fixes: e26a5843f7f5014ae4460030ca4de029a3ac35d3 Acked-by: Allen Hubbe Signed-off-by: Jon Mason --- diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c index 9b791cb..f81aa4b 100644 --- a/drivers/ntb/ntb_transport.c +++ b/drivers/ntb/ntb_transport.c @@ -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 */