diff options
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r-- | block/blk-cgroup.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h index 8ccc20464dae..fe445178f586 100644 --- a/block/blk-cgroup.h +++ b/block/blk-cgroup.h | |||
@@ -106,7 +106,7 @@ extern int blkiocg_del_blkio_group(struct blkio_group *blkg); | |||
106 | extern struct blkio_group *blkiocg_lookup_group(struct blkio_cgroup *blkcg, | 106 | extern struct blkio_group *blkiocg_lookup_group(struct blkio_cgroup *blkcg, |
107 | void *key); | 107 | void *key); |
108 | void blkiocg_update_blkio_group_stats(struct blkio_group *blkg, | 108 | void blkiocg_update_blkio_group_stats(struct blkio_group *blkg, |
109 | unsigned long time, unsigned long sectors); | 109 | unsigned long time); |
110 | #else | 110 | #else |
111 | struct cgroup; | 111 | struct cgroup; |
112 | static inline struct blkio_cgroup * | 112 | static inline struct blkio_cgroup * |
@@ -123,8 +123,6 @@ blkiocg_del_blkio_group(struct blkio_group *blkg) { return 0; } | |||
123 | static inline struct blkio_group * | 123 | static inline struct blkio_group * |
124 | blkiocg_lookup_group(struct blkio_cgroup *blkcg, void *key) { return NULL; } | 124 | blkiocg_lookup_group(struct blkio_cgroup *blkcg, void *key) { return NULL; } |
125 | static inline void blkiocg_update_blkio_group_stats(struct blkio_group *blkg, | 125 | static inline void blkiocg_update_blkio_group_stats(struct blkio_group *blkg, |
126 | unsigned long time, unsigned long sectors) | 126 | unsigned long time) {} |
127 | { | ||
128 | } | ||
129 | #endif | 127 | #endif |
130 | #endif /* _BLK_CGROUP_H */ | 128 | #endif /* _BLK_CGROUP_H */ |