timespec: Don't return value from void function

timespec_add_msec() doesn't return any values, so don't try to return
any.

Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Daniel Stone 2019-04-22 18:09:27 +01:00
parent 82c8ca1628
commit a9278d28fc

View file

@ -81,7 +81,7 @@ timespec_add_nsec(struct timespec *r, const struct timespec *a, int64_t b)
static inline void
timespec_add_msec(struct timespec *r, const struct timespec *a, int64_t b)
{
return timespec_add_nsec(r, a, b * 1000000);
timespec_add_nsec(r, a, b * 1000000);
}
/* Convert timespec to nanoseconds