Commit af1ec38c authored by zhang jiao's avatar zhang jiao Committed by Shuah Khan

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: default avatarzhang jiao <zhangjiao2@cmss.chinamobile.com>
Reviewed-by: default avatarShuah Khan <skhan@linuxfoundation.org>
Acked-by: default avatarJohn Stultz <jstultz@google.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 7beaf1da
...@@ -30,9 +30,6 @@ ...@@ -30,9 +30,6 @@
#include <time.h> #include <time.h>
#include "../kselftest.h" #include "../kselftest.h"
#define NSEC_PER_SEC 1000000000LL
int change_skew_test(int ppm) int change_skew_test(int ppm)
{ {
struct timex tx; struct timex tx;
......
...@@ -36,8 +36,6 @@ ...@@ -36,8 +36,6 @@
#include <sys/wait.h> #include <sys/wait.h>
#include "../kselftest.h" #include "../kselftest.h"
#define NSEC_PER_SEC 1000000000LL
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
struct timex tx; struct timex tx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment