diff options
| author | Nam Cao <[email protected]> | 2025-02-05 10:55:17 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-04-05 08:30:17 +0000 |
| commit | 1cc24f2e766c5a6606b834a677bd58991c1b9781 (patch) | |
| tree | c4cd59dab97d6f8a3fdbedeecba68fdd4a6f968f /security/selinux/netnode.c | |
| parent | hrtimers: Make callback function pointer private (diff) | |
| download | kernel-1cc24f2e766c5a6606b834a677bd58991c1b9781.tar.gz kernel-1cc24f2e766c5a6606b834a677bd58991c1b9781.zip | |
hrtimers: Remove unnecessary NULL check in hrtimer_start_range_ns()
The struct hrtimer::function field can only be changed using
hrtimer_setup*() or hrtimer_update_function(), and both already null-check
'function'. Therefore, null-checking 'function' in hrtimer_start_range_ns()
is not necessary.
Signed-off-by: Nam Cao <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/all/4661c571ee87980c340ccc318fc1a473c0c8f6bc.1738746927.git.namcao@linutronix.de
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions
