diff options
author | Bart Van Assche <[email protected]> | 2019-08-01 15:50:42 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-08-04 21:41:29 -0600 |
commit | ff9811b3cf2092fe6c39cf694e5e7f949f3b2c16 (patch) | |
tree | f61263180210bb5edf1294aa76ef37669928453b /drivers/fpga/fpga-bridge.c | |
parent | dad7758459bc6097115f5e783eda232f36b1ad99 (diff) |
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 <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Ming Lei <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions