aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-10-28 04:27:07 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-10-28 04:27:07 -0400
commit5869619cb5b26754574375472fe54a390edf34c7 (patch)
tree20e0b9852aea2a4ede1b76d0f3672233b31e2399
parent718eee0579b802aabe3bafacf09d0a9b0830f1dd (diff)
cfq-iosched: fix style issue in cfq_get_avg_queues()
Line breaks and bad brace placement. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--block/cfq-iosched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index 859f534ae9ef..aa00d8f2d0b0 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -393,8 +393,8 @@ cfq_prio_to_slice(struct cfq_data *cfqd, struct cfq_queue *cfqq)
393 * to quickly follows sudden increases and decrease slowly 393 * to quickly follows sudden increases and decrease slowly
394 */ 394 */
395 395
396static inline unsigned 396static inline unsigned cfq_get_avg_queues(struct cfq_data *cfqd, bool rt)
397cfq_get_avg_queues(struct cfq_data *cfqd, bool rt) { 397{
398 unsigned min_q, max_q; 398 unsigned min_q, max_q;
399 unsigned mult = cfq_hist_divisor - 1; 399 unsigned mult = cfq_hist_divisor - 1;
400 unsigned round = cfq_hist_divisor / 2; 400 unsigned round = cfq_hist_divisor / 2;