Restore type checking in calc_thread_status()
authorBart Van Assche <bvanassche@acm.org>
Wed, 14 Aug 2019 20:10:11 +0000 (13:10 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 14 Aug 2019 21:01:29 +0000 (15:01 -0600)
commitda92f848c5e0d29db6dda12c4c97bf1338a01128
tree64b7536963a9d46164e42412c539bf06e51eb144
parent4c515ab4591acc7358e5886f841c635b62ebf19c
Restore type checking in calc_thread_status()

Due to a previous patch it is no longer necessary to hide the type of
accesses to the 'rate' and 'iops' members in struct jobs_eta.

This patch reverts commit df0ca15ce2ff ("eta: Fix compiler warning").

Cc: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
eta.c