diskutil: Simplify get_io_ticks()
authorBart Van Assche <bvanassche@acm.org>
Thu, 13 Jul 2023 17:03:08 +0000 (10:03 -0700)
committerBart Van Assche <bvanassche@acm.org>
Thu, 13 Jul 2023 19:51:27 +0000 (12:51 -0700)
commite08d9f694d972f02e143902124f953df6c3aadfa
treef48331b039b54539e8722a42071291511b4565af
parent8a4c41dd9ed5b10b611b4581c3ac9f4a529ce984
diskutil: Simplify get_io_ticks()

Remove the sectors[] array. Remove the set-but-not-used in_flight variable.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
diskutil.c