aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-10-28 09:27:07 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-10-28 09:27:07 +0100
commit5869619cb5b26754574375472fe54a390edf34c7 (patch)
tree20e0b9852aea2a4ede1b76d0f3672233b31e2399 /block
parentcfq-iosched: fairness for sync no-idle queues (diff)
downloadlinux-dev-5869619cb5b26754574375472fe54a390edf34c7.tar.xz
linux-dev-5869619cb5b26754574375472fe54a390edf34c7.zip
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>
Diffstat (limited to 'block')
-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)
* to quickly follows sudden increases and decrease slowly
*/
-static inline unsigned
-cfq_get_avg_queues(struct cfq_data *cfqd, bool rt) {
+static inline unsigned cfq_get_avg_queues(struct cfq_data *cfqd, bool rt)
+{
unsigned min_q, max_q;
unsigned mult = cfq_hist_divisor - 1;
unsigned round = cfq_hist_divisor / 2;