Skip to content

Commit

Permalink
cfq-iosched: fix style issue in cfq_get_avg_queues()
Browse files Browse the repository at this point in the history
Line breaks and bad brace placement.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
  • Loading branch information
Jens Axboe committed Oct 28, 2009
1 parent 718eee0 commit 5869619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions block/cfq-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5869619

Please sign in to comment.