diff options
Diffstat (limited to 'block/cfq-iosched.c')
-rw-r--r-- | block/cfq-iosched.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index cff8b5ba6208..7a8c3e0ab3a2 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "blk.h" | 17 | #include "blk.h" |
18 | #include "blk-cgroup.h" | 18 | #include "blk-cgroup.h" |
19 | 19 | ||
20 | static struct blkio_policy_type blkio_policy_cfq; | 20 | static struct blkio_policy_type blkio_policy_cfq __maybe_unused; |
21 | 21 | ||
22 | /* | 22 | /* |
23 | * tunables | 23 | * tunables |
@@ -541,14 +541,13 @@ static void cfqg_stats_update_avg_queue_size(struct cfq_group *cfqg) | |||
541 | 541 | ||
542 | #else /* CONFIG_CFQ_GROUP_IOSCHED && CONFIG_DEBUG_BLK_CGROUP */ | 542 | #else /* CONFIG_CFQ_GROUP_IOSCHED && CONFIG_DEBUG_BLK_CGROUP */ |
543 | 543 | ||
544 | static void cfqg_stats_set_start_group_wait_time(struct cfq_group *cfqg, | 544 | static inline void cfqg_stats_set_start_group_wait_time(struct cfq_group *cfqg, struct cfq_group *curr_cfqg) { } |
545 | struct cfq_group *curr_cfqg) { } | 545 | static inline void cfqg_stats_end_empty_time(struct cfqg_stats *stats) { } |
546 | static void cfqg_stats_end_empty_time(struct cfqg_stats *stats) { } | 546 | static inline void cfqg_stats_update_dequeue(struct cfq_group *cfqg) { } |
547 | static void cfqg_stats_update_dequeue(struct cfq_group *cfqg) { } | 547 | static inline void cfqg_stats_set_start_empty_time(struct cfq_group *cfqg) { } |
548 | static void cfqg_stats_set_start_empty_time(struct cfq_group *cfqg) { } | 548 | static inline void cfqg_stats_update_idle_time(struct cfq_group *cfqg) { } |
549 | static void cfqg_stats_update_idle_time(struct cfq_group *cfqg) { } | 549 | static inline void cfqg_stats_set_start_idle_time(struct cfq_group *cfqg) { } |
550 | static void cfqg_stats_set_start_idle_time(struct cfq_group *cfqg) { } | 550 | static inline void cfqg_stats_update_avg_queue_size(struct cfq_group *cfqg) { } |
551 | static void cfqg_stats_update_avg_queue_size(struct cfq_group *cfqg) { } | ||
552 | 551 | ||
553 | #endif /* CONFIG_CFQ_GROUP_IOSCHED && CONFIG_DEBUG_BLK_CGROUP */ | 552 | #endif /* CONFIG_CFQ_GROUP_IOSCHED && CONFIG_DEBUG_BLK_CGROUP */ |
554 | 553 | ||