summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2026-06-02 10:12:51 +0300
committerPeter Zijlstra <peterz@infradead.org>2026-06-03 12:38:47 +0300
commit08d4a7837f008ea6031c1292aa839ad881d7b3f1 (patch)
tree251e004feb5b2975eb79230b901b6477586fea5d /include/linux/timerqueue.h
parent813e5598e5b551a1fb82b516428ce2f135921122 (diff)
downloadlinux-08d4a7837f008ea6031c1292aa839ad881d7b3f1.tar.xz
genirq: Move NULL check into irqdesc_lock guard unlock expression
irqdesc_lock uses __DEFINE_UNLOCK_GUARD() directly with a custom constructor that can set .lock to NULL. In preparation for removing the NULL check from __DEFINE_UNLOCK_GUARD(), move the NULL check into the irqdesc_lock unlock expression, making the NULL handling explicit at the call site. No functional change. Signed-off-by: Dmitry Ilvokhin <d@ilvokhin.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/ab457810653e4356e29b2d74ba616478bd9328ad.1780064327.git.d@ilvokhin.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions