summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2021-03-01 04:58:43 -0500
committerMike Snitzer <snitzer@redhat.com>2021-03-26 14:53:41 -0400
commit8615cb65bd638ba5f9ebe71115cc5956eb1713d0 (patch)
tree93d0b0910d51db6dfc049ab7a1ce9700a3083d08 /Documentation
parentc40819f267f76e69418d3bc9fbb57962a6845673 (diff)
downloadlinux-8615cb65bd638ba5f9ebe71115cc5956eb1713d0.tar.bz2
dm: remove useless loop in __split_and_process_bio
Remove useless "while" loop. If the condition ci.sector_count && !error is true, we go to a branch that ends with "break". If this condition is false, the "while" loop will not be executed again. So, the loop can't be executed more than once. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions