aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/rx.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-05-16 16:15:49 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-05-22 05:59:26 -0400
commitb3475645ed8b823c063f7560b243026150d7c3f8 (patch)
treee69a067136b0344967c1464f3143222bd3963d9e /drivers/net/sfc/rx.c
parent2c118e0f6b7f3b8021df3c80c80c0545402f38b4 (diff)
sfc: Added and removed braces to comply with kernel style
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/rx.c')
-rw-r--r--drivers/net/sfc/rx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sfc/rx.c b/drivers/net/sfc/rx.c
index 670622373ddf..a6413309c577 100644
--- a/drivers/net/sfc/rx.c
+++ b/drivers/net/sfc/rx.c
@@ -400,9 +400,10 @@ static int __efx_fast_push_rx_descriptors(struct efx_rx_queue *rx_queue,
400 return 0; 400 return 0;
401 401
402 /* Record minimum fill level */ 402 /* Record minimum fill level */
403 if (unlikely(fill_level < rx_queue->min_fill)) 403 if (unlikely(fill_level < rx_queue->min_fill)) {
404 if (fill_level) 404 if (fill_level)
405 rx_queue->min_fill = fill_level; 405 rx_queue->min_fill = fill_level;
406 }
406 407
407 /* Acquire RX add lock. If this lock is contended, then a fast 408 /* Acquire RX add lock. If this lock is contended, then a fast
408 * fill must already be in progress (e.g. in the refill 409 * fill must already be in progress (e.g. in the refill