summaryrefslogtreecommitdiffstats
path: root/drivers/ntb
diff options
context:
space:
mode:
authorSteve Wahl <Steve.Wahl@dell.com>2016-12-21 17:45:22 +0100
committerJon Mason <jdmason@kudzu.us>2016-12-23 22:11:07 +0100
commitdfb7d24c5ad5c986f2417f52784738b67cfedd4d (patch)
tree2782075b46291f9c209a5f93e53c0e55842d46b2 /drivers/ntb
parentNTB: Fix 'request_irq()' and 'free_irq()' inconsistancy (diff)
downloadlinux-dfb7d24c5ad5c986f2417f52784738b67cfedd4d.tar.xz
linux-dfb7d24c5ad5c986f2417f52784738b67cfedd4d.zip
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: e26a5843f7f5014ae4460030ca4de029a3ac35d3 Acked-by: Allen Hubbe <Allen.Hubbe@dell.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb')
-rw-r--r--drivers/ntb/ntb_transport.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c
index 9b791cb33c19..f81aa4b18d9f 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 */