diff options
Diffstat (limited to 'lib/iov_iter.c')
-rw-r--r-- | lib/iov_iter.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/iov_iter.c b/lib/iov_iter.c index bdcf1fbeb2db..e6c5834da32d 100644 --- a/lib/iov_iter.c +++ b/lib/iov_iter.c @@ -172,8 +172,6 @@ } else if (iov_iter_is_xarray(i)) { \ struct bio_vec v; \ iterate_xarray(i, n, v, skip, (X)) \ - } else if (iov_iter_is_discard(i)) { \ - skip += n; \ } \ i->count -= n; \ i->iov_offset = skip; \ |