Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5869619c authored by Jens Axboe's avatar Jens Axboe
Browse files

cfq-iosched: fix style issue in cfq_get_avg_queues()



Line breaks and bad brace placement.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 718eee05
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;