unwind: Simplify unwind_reset_info()
authorPeter Zijlstra <peterz@infradead.org>
Mon, 22 Sep 2025 13:46:00 +0000 (15:46 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 29 Oct 2025 09:29:55 +0000 (10:29 +0100)
commit52a1ec718b3eb6da29a76d05a662365a997139cc
tree739182b783b128e2327fc178e806e159857e6730
parentb1164c7d118defb01a885b53f56e3336db784df7
unwind: Simplify unwind_reset_info()

Invert the condition of the first if and make it an early exit to
reduce an indent level for the rest fo the function.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Link: https://patch.msgid.link/20250924080118.777916262@infradead.org
include/linux/unwind_deferred.h