diff options
author | Rahul Rameshbabu <rrameshbabu@nvidia.com> | 2023-06-12 14:14:54 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-20 09:02:33 +0100 |
commit | 048f6d998eacabed143d6524395573f8868a4f34 (patch) | |
tree | 6c8e286655f21a3093cd4869c85b588ec6ef50e6 /drivers/ptp | |
parent | fe3834cd0cf74b06847a1001ac44b7e2c035b5bc (diff) |
testptp: Remove magic numbers related to nanosecond to second conversion
Use existing NSEC_PER_SEC declaration in place of hardcoded magic numbers.
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Maciek Machnikowski <maciek@machnikowski.net>
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions