[openib-general] [PATCH][2/18] InfiniBand/mthca: trivial formatting fix
Roland Dreier
roland at topspin.com
Wed Jan 12 13:47:45 PST 2005
Trivial formatting fix for empty for loops.
Signed-off-by: Roland Dreier <roland at topspin.com>
--- linux/drivers/infiniband/hw/mthca/mthca_mr.c (revision 1420)
+++ linux/drivers/infiniband/hw/mthca/mthca_mr.c (revision 1421)
@@ -197,7 +197,7 @@
for (i = dev->limits.mtt_seg_size / 8, mr->order = 0;
i < list_len;
i <<= 1, ++mr->order)
- /* nothing */ ;
+ ; /* nothing */
mr->first_seg = mthca_alloc_mtt(dev, mr->order);
if (mr->first_seg == -1)
@@ -337,7 +337,7 @@
for (i = 1, dev->mr_table.max_mtt_order = 0;
i < dev->limits.num_mtt_segs;
i <<= 1, ++dev->mr_table.max_mtt_order)
- /* nothing */ ;
+ ; /* nothing */
dev->mr_table.mtt_buddy = kmalloc((dev->mr_table.max_mtt_order + 1) *
sizeof (long *),
More information about the general
mailing list