diff options
author | Easwar Hariharan <eahariha@linux.microsoft.com> | 2025-02-19 20:32:40 +0000 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-02-26 15:44:37 +0100 |
commit | 7d2497ff7e5ffd5a2e4fb1a7f2547db61bcbebdd (patch) | |
tree | 504b5a596ed39bc074a45e67690388a0e7c5848b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 129860044c611008be37f49d04cf41874e3659e6 (diff) |
wifi: cfg80211: convert timeouts to secs_to_jiffies()
Commit b35108a51cf7 ("jiffies: Define secs_to_jiffies()") introduced
secs_to_jiffies(). As the value here is a multiple of 1000, use
secs_to_jiffies() instead of msecs_to_jiffies to avoid the multiplication.
This is converted using scripts/coccinelle/misc/secs_to_jiffies.cocci with
the following Coccinelle rules:
@depends on patch@
expression E;
@@
-msecs_to_jiffies(E * 1000)
+secs_to_jiffies(E)
-msecs_to_jiffies(E * MSEC_PER_SEC)
+secs_to_jiffies(E)
Signed-off-by: Easwar Hariharan <eahariha@linux.microsoft.com>
Reviewed-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Link: https://patch.msgid.link/20250219203240.141272-1-eahariha@linux.microsoft.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions