aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r--block/blk-cgroup.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h
index 1d409ad9c6e8..2c956a06339a 100644
--- a/block/blk-cgroup.h
+++ b/block/blk-cgroup.h
@@ -217,7 +217,6 @@ extern void blkiocg_add_blkio_group(struct blkio_cgroup *blkcg,
217extern int blkiocg_del_blkio_group(struct blkio_group *blkg); 217extern int blkiocg_del_blkio_group(struct blkio_group *blkg);
218extern struct blkio_group *blkiocg_lookup_group(struct blkio_cgroup *blkcg, 218extern struct blkio_group *blkiocg_lookup_group(struct blkio_cgroup *blkcg,
219 void *key); 219 void *key);
220void blkio_group_init(struct blkio_group *blkg);
221void blkiocg_update_timeslice_used(struct blkio_group *blkg, 220void blkiocg_update_timeslice_used(struct blkio_group *blkg,
222 unsigned long time); 221 unsigned long time);
223void blkiocg_update_dispatch_stats(struct blkio_group *blkg, uint64_t bytes, 222void blkiocg_update_dispatch_stats(struct blkio_group *blkg, uint64_t bytes,
@@ -235,7 +234,6 @@ struct cgroup;
235static inline struct blkio_cgroup * 234static inline struct blkio_cgroup *
236cgroup_to_blkio_cgroup(struct cgroup *cgroup) { return NULL; } 235cgroup_to_blkio_cgroup(struct cgroup *cgroup) { return NULL; }
237 236
238static inline void blkio_group_init(struct blkio_group *blkg) {}
239static inline void blkiocg_add_blkio_group(struct blkio_cgroup *blkcg, 237static inline void blkiocg_add_blkio_group(struct blkio_cgroup *blkcg,
240 struct blkio_group *blkg, void *key, dev_t dev) {} 238 struct blkio_group *blkg, void *key, dev_t dev) {}
241 239