um: Remove unused timeval_to_ns() function
authorDavid Gow <davidgow@google.com>
Thu, 24 Feb 2022 08:12:33 +0000 (16:12 +0800)
committerRichard Weinberger <richard@nod.at>
Fri, 11 Mar 2022 09:49:50 +0000 (10:49 +0100)
commit0e6d630cef8b72de6f4573c894b479bdf091c1e5
tree8ff83fab6d5e7c382c764026f2d5a54261b2b997
parent1a3a6a2a035bb6c3a7ef4c788d8fd69a7b2d6284
um: Remove unused timeval_to_ns() function

The timeval_to_ns() function doesn't appear to be used anywhere, as far
as I (or git grep) can tell, and clang throws up a warning about it:

../arch/um/os-Linux/time.c:21:25: warning: unused function 'timeval_to_ns' [-Wunused-function]
static inline long long timeval_to_ns(const struct timeval *tv)
                        ^
1 warning generated.

Signed-off-by: David Gow <davidgow@google.com>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/time.c