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>
This commit is contained in:
zhang jiao 2024-09-06 10:52:59 +08:00 committed by Shuah Khan
parent 7beaf1da07
commit af1ec38c6c
2 changed files with 0 additions and 5 deletions

View File

@ -30,9 +30,6 @@
#include <time.h>
#include "../kselftest.h"
#define NSEC_PER_SEC 1000000000LL
int change_skew_test(int ppm)
{
struct timex tx;

View File

@ -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;