summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-08-02 01:50:42 +0300
committerJens Axboe <axboe@kernel.dk>2019-08-05 06:41:29 +0300
commitff9811b3cf2092fe6c39cf694e5e7f949f3b2c16 (patch)
treef61263180210bb5edf1294aa76ef37669928453b /net
parentdad7758459bc6097115f5e783eda232f36b1ad99 (diff)
downloadlinux-ff9811b3cf2092fe6c39cf694e5e7f949f3b2c16.tar.xz
block: Simplify bvec_split_segs()
Simplify this function by by removing two if-tests. Other than requiring that the @sectors pointer is not NULL, this patch does not change the behavior of bvec_split_segs(). Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Cc: Christoph Hellwig <hch@lst.de> Cc: Ming Lei <ming.lei@redhat.com> Cc: Hannes Reinecke <hare@suse.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions