I don't understand why if it was necessary to remove the `do ... while` block, but I don't believe that this PR has been reviewed by a developer yet.
This comment should probably be removed though, since it only makes sense if you actually know what the code looked like before.