IB/qib: fix a do nothing for loop
Subsystems (2)
PATCH 1/1 IB/qib: fix a do nothing for loop
We accidentally deleted a semi-colon here and changed this do-nothing loop into a do-something loop.
Fixes ff93905fb92d ('IB/qib: Fix checkpatch warnings')
Signed-off-by Dan Carpenter <[email protected]>
drivers/infiniband/hw/qib/qib_wc_x86_64.c +1 -1
@@ -92,7 +92,7 @@ int qib_enable_wc(struct qib_devdata *dd) }for (bits =0 ; !(piolen & (1ULL << bits)); bits++) -/* do nothing */ + ;/* do nothing */ if (piolen != (1ULL << bits)) { piolen >>= bits;
Quoted 2 lines · Dan Carpenter
We accidentally deleted a semi-colon here and changed this do-nothing loop into a do-something loop.
Thanks! I folded this into the original "cleanup" patch.