Re: [PATCH v2] selftests/timers: Remove unused NSEC_PER_SEC macro
From: John Stultz
Date: Fri Sep 06 2024 - 13:03:01 EST
On Fri, Sep 6, 2024 at 7:29 AM Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> wrote:
> On 9/5/24 20:52, zhangjiao2 wrote:
> > 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;
>
> This looks good to me.
>
> Reviewed-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>
>
> John, I can pick this up with if you are okay with this change.
No objection from me, if you're ok with the commit.
Acked-by: John Stultz <jstultz@xxxxxxxxxx>
thanks
-john