diff options
| author | Rohit Chavan <roheetchavan@gmail.com> | 2026-05-05 13:23:07 +0530 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-05-18 04:58:41 -0400 |
| commit | 44ea9d022312097a8a25215f89e9c1a69a77b1d9 (patch) | |
| tree | c4c60f13bd4fb83b94e8b6f7fe1cc74dee5a972e /include/linux/timerqueue.h | |
| parent | d38e69adc27e88111ebf13a51c83756c6249f734 (diff) | |
RDMA/mlx4: Use secs_to_jiffies() instead of open-coding
The conversion from seconds to jiffies is currently performed by
multiplying the value by 1000 and passing it to msecs_to_jiffies().
Use the more direct secs_to_jiffies() helper instead. This simplifies the
code, improves readability, and avoids the manual multiplication step
by using the dedicated kernel API.
Signed-off-by: Rohit Chavan <roheetchavan@gmail.com>
Link: https://patch.msgid.link/20260505075308.1754861-1-roheetchavan@gmail.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
