diff options
author | Christoph Hellwig <hch@lst.de> | 2019-05-21 09:01:43 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-23 10:25:26 -0600 |
commit | 6869875fbc04042ad01654591da60862706e86e3 (patch) | |
tree | d4949f0c0d2a96614302a1873c148f915d5eaa1f /include/linux | |
parent | 200a9aff7b02feea30b01141b0df9bc19457a232 (diff) |
block: remove the bi_seg_{front,back}_size fields in struct bio
At this point these fields aren't used for anything, so we can remove
them.
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/blk_types.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h index be418275763c..95202f80676c 100644 --- a/include/linux/blk_types.h +++ b/include/linux/blk_types.h @@ -159,13 +159,6 @@ struct bio { */ unsigned int bi_phys_segments; - /* - * To keep track of the max segment size, we account for the - * sizes of the first and last mergeable segments in this bio. - */ - unsigned int bi_seg_front_size; - unsigned int bi_seg_back_size; - struct bvec_iter bi_iter; atomic_t __bi_remaining; |