From 8787e3e5144e36f8c4e95fbe5e0dba3be454a0af Mon Sep 17 00:00:00 2001 From: Steve Wahl Date: Wed, 21 Dec 2016 11:45:22 -0500 Subject: [PATCH] ntb_transport: Remove unnecessary call to ntb_peer_spad_read The results were previously ignored, anyway. Signed-off-by: Steve Wahl Fixes: ceb87512275b4f2e969cb3cbd5f352a893bdfdd6 Acked-by: Allen Hubbe Signed-off-by: Jon Mason --- drivers/ntb/ntb_transport.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c index 9b791cb33c196..f81aa4b18d9f4 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 */ -- 2.39.5