提交 5f5e4eb4 编写于 作者: D Dennis Dalessandro 提交者: Jason Gunthorpe

IB/hfi1: Remove extra brackets from an if

A recent patch to hfi1 left behind a checkpatch error.

Fixes: fb24ea52 ("drivers: Remove explicit invocations of mmiowb()")
Signed-off-by: NDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
上级 ea996974
...@@ -1577,9 +1577,8 @@ void hfi1_sc_wantpiobuf_intr(struct send_context *sc, u32 needint) ...@@ -1577,9 +1577,8 @@ void hfi1_sc_wantpiobuf_intr(struct send_context *sc, u32 needint)
else else
sc_del_credit_return_intr(sc); sc_del_credit_return_intr(sc);
trace_hfi1_wantpiointr(sc, needint, sc->credit_ctrl); trace_hfi1_wantpiointr(sc, needint, sc->credit_ctrl);
if (needint) { if (needint)
sc_return_credits(sc); sc_return_credits(sc);
}
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册