diff options
Diffstat (limited to 'block/blk.h')
-rw-r--r-- | block/blk.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/block/blk.h b/block/blk.h index d6b911ac002c..f864012ec300 100644 --- a/block/blk.h +++ b/block/blk.h | |||
@@ -110,10 +110,6 @@ void blk_queue_congestion_threshold(struct request_queue *q); | |||
110 | 110 | ||
111 | int blk_dev_init(void); | 111 | int blk_dev_init(void); |
112 | 112 | ||
113 | void elv_quiesce_start(struct request_queue *q); | ||
114 | void elv_quiesce_end(struct request_queue *q); | ||
115 | |||
116 | |||
117 | /* | 113 | /* |
118 | * Return the threshold (number of used requests) at which the queue is | 114 | * Return the threshold (number of used requests) at which the queue is |
119 | * considered to be congested. It include a little hysteresis to keep the | 115 | * considered to be congested. It include a little hysteresis to keep the |
@@ -132,14 +128,6 @@ static inline int queue_congestion_off_threshold(struct request_queue *q) | |||
132 | return q->nr_congestion_off; | 128 | return q->nr_congestion_off; |
133 | } | 129 | } |
134 | 130 | ||
135 | #if defined(CONFIG_BLK_DEV_INTEGRITY) | ||
136 | |||
137 | #define rq_for_each_integrity_segment(bvl, _rq, _iter) \ | ||
138 | __rq_for_each_bio(_iter.bio, _rq) \ | ||
139 | bip_for_each_vec(bvl, _iter.bio->bi_integrity, _iter.i) | ||
140 | |||
141 | #endif /* BLK_DEV_INTEGRITY */ | ||
142 | |||
143 | static inline int blk_cpu_to_group(int cpu) | 131 | static inline int blk_cpu_to_group(int cpu) |
144 | { | 132 | { |
145 | int group = NR_CPUS; | 133 | int group = NR_CPUS; |