Unified · Split
| @@ -259,7 +259,6 @@ ForEachMacros: · 258 unmodified lines | ||
| 259 | 259 | - 'idr_for_each_entry_ul' |
| 260 | 260 | - 'inet_bind_bucket_for_each' |
| 261 | 261 | - 'inet_lhash2_for_each_icsk_rcu' |
| 262 | − - 'iov_for_each' | |
| 263 | 262 | - 'key_for_each' |
| 264 | 263 | - 'key_for_each_safe' |
| 265 | 264 | - 'klp_for_each_func' |
| @@ -110,14 +110,6 @@ static inline struct iovec iov_iter_iovec(const struct iov_iter *iter) · 109 unmodified lines | ||
| 110 | 110 | }; |
| 111 | 111 | } |
| 112 | 112 | |
| 113 | −#define iov_for_each(iov, iter, start) \ | |
| 114 | − if (iov_iter_type(start) == ITER_IOVEC || \ | |
| 115 | − iov_iter_type(start) == ITER_KVEC) \ | |
| 116 | − for (iter = (start); \ | |
| 117 | − (iter).count && \ | |
| 118 | − ((iov = iov_iter_iovec(&(iter))), 1); \ | |
| 119 | − iov_iter_advance(&(iter), (iov).iov_len)) | |
| 120 | − | |
| 121 | 113 | size_t iov_iter_copy_from_user_atomic(struct page *page, |
| 122 | 114 | struct iov_iter *i, unsigned long offset, size_t bytes); |
| 123 | 115 | void iov_iter_advance(struct iov_iter *i, size_t bytes); |