diff options
author | zhang jiao <zhangjiao2@cmss.chinamobile.com> | 2024-09-06 04:52:59 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-09-06 21:37:41 +0200 |
commit | af1ec38c6ccc31ec963ac4bcf8f6a7d8f44d210a (patch) | |
tree | 8cc511285ab340c630b64ed5819bbcfccefd63ac /tools/testing/selftests/timers/skew_consistency.c | |
parent | selftests:resctrl: Fix build failure on archs without __cpuid_count() (diff) | |
download | linux-af1ec38c6ccc31ec963ac4bcf8f6a7d8f44d210a.tar.xz linux-af1ec38c6ccc31ec963ac4bcf8f6a7d8f44d210a.zip |
selftests/timers: Remove unused NSEC_PER_SEC macro
By reading the code, I found the macro NSEC_PER_SEC
is never referenced in the code. Just remove it.
Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: John Stultz <jstultz@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/timers/skew_consistency.c')
-rw-r--r-- | tools/testing/selftests/timers/skew_consistency.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/timers/skew_consistency.c b/tools/testing/selftests/timers/skew_consistency.c index c8e6bffe4e0a..83450145fe65 100644 --- a/tools/testing/selftests/timers/skew_consistency.c +++ b/tools/testing/selftests/timers/skew_consistency.c @@ -36,8 +36,6 @@ #include <sys/wait.h> #include "../kselftest.h" -#define NSEC_PER_SEC 1000000000LL - int main(int argc, char **argv) { struct timex tx; |