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:
@@ -81,7 +81,7 @@ timespec_add_nsec(struct timespec *r, const struct timespec *a, int64_t b)
|
|||||||
static inline void
|
static inline void
|
||||||
timespec_add_msec(struct timespec *r, const struct timespec *a, int64_t b)
|
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
|
/* Convert timespec to nanoseconds
|
||||||
|
|||||||
Reference in New Issue
Block a user