projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea99697
)
IB/hfi1: Remove extra brackets from an if
author
Dennis Dalessandro
<dennis.dalessandro@intel.com>
Fri, 24 May 2019 15:44:58 +0000
(11:44 -0400)
committer
Jason Gunthorpe
<jgg@mellanox.com>
Wed, 29 May 2019 15:59:48 +0000
(12:59 -0300)
A recent patch to hfi1 left behind a checkpatch error.
Fixes: fb24ea52f78e ("drivers: Remove explicit invocations of mmiowb()")
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/pio.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/hfi1/pio.c
b/drivers/infiniband/hw/hfi1/pio.c
index 16ba9d52e1b9b6edfbeb549b650d0d7efa5eed91..919008620dd3925e8de2b6335d7713bb4310ab26 100644
(file)
--- a/
drivers/infiniband/hw/hfi1/pio.c
+++ b/
drivers/infiniband/hw/hfi1/pio.c
@@
-1577,9
+1577,8
@@
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);
- }
}
/**