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
parent718eee0579b802aabe3bafacf09d0a9b0830f1dd (diff)
downloadkernel_goldelico_gta04-5869619cb5b26754574375472fe54a390edf34c7.zip
kernel_goldelico_gta04-5869619cb5b26754574375472fe54a390edf34c7.tar.gz
kernel_goldelico_gta04-5869619cb5b26754574375472fe54a390edf34c7.tar.bz2
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 859f534..aa00d8f 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;