Commit 5f5e4eb4 authored by Dennis Dalessandro's avatar Dennis Dalessandro Committed by Jason Gunthorpe
Browse files

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: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent ea996974
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1577,10 +1577,9 @@ void hfi1_sc_wantpiobuf_intr(struct send_context *sc, u32 needint)
	else
		sc_del_credit_return_intr(sc);
	trace_hfi1_wantpiointr(sc, needint, sc->credit_ctrl);
	if (needint) {
	if (needint)
		sc_return_credits(sc);
}
}

/**
 * sc_piobufavail - callback when a PIO buffer is available