diff options
Diffstat (limited to 'block/cfq.h')
-rw-r--r-- | block/cfq.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/block/cfq.h b/block/cfq.h index 5584e1b63ca8..c8b15ef57e5d 100644 --- a/block/cfq.h +++ b/block/cfq.h | |||
@@ -79,11 +79,6 @@ static inline void cfq_blkiocg_update_completion_stats(struct blkio_group *blkg, | |||
79 | direction, sync); | 79 | direction, sync); |
80 | } | 80 | } |
81 | 81 | ||
82 | static inline int cfq_blkiocg_del_blkio_group(struct blkio_group *blkg) | ||
83 | { | ||
84 | return blkiocg_del_blkio_group(blkg); | ||
85 | } | ||
86 | |||
87 | #else /* CFQ_GROUP_IOSCHED */ | 82 | #else /* CFQ_GROUP_IOSCHED */ |
88 | static inline void cfq_blkiocg_update_io_add_stats(struct blkio_group *blkg, | 83 | static inline void cfq_blkiocg_update_io_add_stats(struct blkio_group *blkg, |
89 | struct blkio_policy_type *pol, | 84 | struct blkio_policy_type *pol, |
@@ -119,10 +114,5 @@ static inline void cfq_blkiocg_update_completion_stats(struct blkio_group *blkg, | |||
119 | struct blkio_policy_type *pol, uint64_t start_time, | 114 | struct blkio_policy_type *pol, uint64_t start_time, |
120 | uint64_t io_start_time, bool direction, bool sync) { } | 115 | uint64_t io_start_time, bool direction, bool sync) { } |
121 | 116 | ||
122 | static inline int cfq_blkiocg_del_blkio_group(struct blkio_group *blkg) | ||
123 | { | ||
124 | return 0; | ||
125 | } | ||
126 | |||
127 | #endif /* CFQ_GROUP_IOSCHED */ | 117 | #endif /* CFQ_GROUP_IOSCHED */ |
128 | #endif | 118 | #endif |