tools: timers: fix freq average calculation
authorMinjie Du <duminjie@vivo.com>
Thu, 6 Jul 2023 03:22:57 +0000 (11:22 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 13 Jul 2023 19:32:36 +0000 (13:32 -0600)
commite8b03aef194c3c8597f4fb8e58ade1cc1f43001e
tree95697da70ed1e9e1e768de3d215dde5eb766a8b5
parentb33b8731566d50aae6e11bd02921452cf3a7e0e7
tools: timers: fix freq average calculation

Delete a duplicate assignment from this function implementation.
The note means ppm is average of the two actual freq samples.
But ppm have a duplicate assignment.

Signed-off-by: Minjie Du <duminjie@vivo.com>
Acked-by: John Stultz <jstultz@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/timers/raw_skew.c