summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorNam Cao <namcao@linutronix.de>2025-02-05 13:55:17 +0300
committerIngo Molnar <mingo@kernel.org>2025-04-05 11:30:17 +0300
commit1cc24f2e766c5a6606b834a677bd58991c1b9781 (patch)
treec4cd59dab97d6f8a3fdbedeecba68fdd4a6f968f /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent04257da0c99c9d4ff7c5bb93046482e1f7d34938 (diff)
downloadlinux-1cc24f2e766c5a6606b834a677bd58991c1b9781.tar.xz
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 <namcao@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/all/4661c571ee87980c340ccc318fc1a473c0c8f6bc.1738746927.git.namcao@linutronix.de
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions