diff options
Diffstat (limited to 'include/linux/bvec.h')
| -rw-r--r-- | include/linux/bvec.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/bvec.h b/include/linux/bvec.h index f6275c4da13a..307bbda62b7b 100644 --- a/include/linux/bvec.h +++ b/include/linux/bvec.h | |||
| @@ -189,9 +189,4 @@ static inline void mp_bvec_last_segment(const struct bio_vec *bvec, | |||
| 189 | } | 189 | } |
| 190 | } | 190 | } |
| 191 | 191 | ||
| 192 | #define mp_bvec_for_each_page(pg, bv, i) \ | ||
| 193 | for (i = (bv)->bv_offset / PAGE_SIZE; \ | ||
| 194 | (i <= (((bv)->bv_offset + (bv)->bv_len - 1) / PAGE_SIZE)) && \ | ||
| 195 | (pg = bvec_nth_page((bv)->bv_page, i)); i += 1) | ||
| 196 | |||
| 197 | #endif /* __LINUX_BVEC_ITER_H */ | 192 | #endif /* __LINUX_BVEC_ITER_H */ |
