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:
parent
82c8ca1628
commit
a9278d28fc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue