mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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>
This commit is contained in:
parent
718eee0579
commit
5869619cb5
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue