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

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
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -30,9 +30,6 @@
#include <time.h>
#include "../kselftest.h"

#define NSEC_PER_SEC 1000000000LL


int change_skew_test(int ppm)
{
	struct timex tx;
+0 −2
Original line number Diff line number Diff line
@@ -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;