summaryrefslogtreecommitdiff
path: root/net/bluetooth/smp.c
diff options
context:
space:
mode:
authorEaswar Hariharan <eahariha@linux.microsoft.com>2025-02-19 22:51:30 +0000
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-03-25 12:40:15 -0400
commite3e627e6b218fbc8c1b277c008a901cc70524fcc (patch)
treec8545b128b75f9001bc0497c8dd6d0026c8dcfa3 /net/bluetooth/smp.c
parenta9d5131e2239791131407cf6f8e1b8e36bf4c545 (diff)
downloadlinux-e3e627e6b218fbc8c1b277c008a901cc70524fcc.tar.gz
linux-e3e627e6b218fbc8c1b277c008a901cc70524fcc.tar.bz2
linux-e3e627e6b218fbc8c1b277c008a901cc70524fcc.zip
Bluetooth: MGMT: 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> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth/smp.c')
0 files changed, 0 insertions, 0 deletions