helper_thread: cleanups
authorVincent Fu <vincent.fu@wdc.com>
Tue, 28 Apr 2020 17:27:14 +0000 (11:27 -0600)
committerVincent Fu <vincent.fu@wdc.com>
Wed, 29 Apr 2020 11:23:07 +0000 (05:23 -0600)
commit0e59dd68fcce7a5c77ba5bf1239d79a28c4006a0
treec2982f67093a1f09b8f0df14c2c52daf21122d85
parent3966740cd903ed95f306e59892075faf9fd2a151
helper_thread: cleanups

- instead of always using a timeout of DISK_UTIL_MSEC, use a possibly shorter
  period for the select() timeout
- drop the timespec_add_msec() call because the target is overwritten in short
  order by clock_gettime()

Signed-off-by: Vincent Fu <vincent.fu@wdc.com>
helper_thread.c