summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-05-26 09:36:34 +0200
committerDavid Sterba <dsterba@suse.com>2022-07-25 17:45:33 +0200
commite6484bd4881f340e04de6833230225ee3ba7ce6d (patch)
tree86082e5d2bd6bbfb6d31a57c85a0207836193062 /tools/lib/python
parentb4c46bdea96af1c79cfc0bcd0b387af311368145 (diff)
btrfs: simplify code flow in btrfs_submit_dio_bio
There is no exit block and cleanup and the function is reasonably short so we can use inline return and not the goto. This makes the function more straight forward. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions