projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
718eee0
)
cfq-iosched: fix style issue in cfq_get_avg_queues()
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 28 Oct 2009 08:27:07 +0000
(09:27 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 28 Oct 2009 08:27:07 +0000
(09:27 +0100)
Line breaks and bad brace placement.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c
patch
|
blob
|
blame
|
history
diff --git
a/block/cfq-iosched.c
b/block/cfq-iosched.c
index 859f534ae9ef4b1210eccd4f5ac4e004ae7fe370..aa00d8f2d0b04728b878188c3f1db70a41a8e6b4 100644
(file)
--- 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;