Re: [PATCH v2] selftests/timers: Remove unused NSEC_PER_SEC macro

2024-09-06 Thread Shuah Khan
On 9/6/24 11:02, John Stultz wrote: On Fri, Sep 6, 2024 at 7:29 AM Shuah Khan 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/testin

Re: [PATCH v2] selftests/timers: Remove unused NSEC_PER_SEC macro

2024-09-06 Thread John Stultz
On Fri, Sep 6, 2024 at 7:29 AM Shuah Khan 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/ske

Re: [PATCH v2] selftests/timers: Remove unused NSEC_PER_SEC macro

2024-09-06 Thread Shuah Khan
On 9/5/24 20:52, zhangjiao2 wrote: From: zhang jiao By readind the code, I found the macro NSEC_PER_SEC reading is never referenced in the code. Just remove it. Signed-off-by: zhang jiao Running checkpatch can catch spelling errors. --- v1->v2: Put together files with similar

[PATCH v2] selftests/timers: Remove unused NSEC_PER_SEC macro

2024-09-05 Thread zhangjiao2
From: zhang jiao By readind the code, I found the macro NSEC_PER_SEC is never referenced in the code. Just remove it. Signed-off-by: zhang jiao --- v1->v2: Put together files with similar problems tools/testing/selftests/timers/change_skew.c | 3 --- tools/testing/selftests/timer