diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-11-18 13:52:13 +0300 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2025-11-18 15:56:55 +0100 |
| commit | 80adaccf0e1c8c8fff44be2d959f6dba80af0491 (patch) | |
| tree | f12175dd21c4bcea434b52b67314dcd582cd855f | |
| parent | 1fe4002cf7f23d70c79bda429ca2a9423ebcfdfa (diff) | |
rseq: Delete duplicate if statement in rseq_virt_userspace_exit()
This if statement is indented weirdly. It's a duplicate and doesn't
affect runtime (beyond wasting a little time). Delete it.
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/aRxP3YcwscrP1BU_@stanley.mountain
| -rw-r--r-- | include/linux/rseq.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/rseq.h b/include/linux/rseq.h index b5e4803c4ebe..bf8a6bf315f3 100644 --- a/include/linux/rseq.h +++ b/include/linux/rseq.h @@ -126,7 +126,6 @@ static inline void rseq_force_update(void) */ static inline void rseq_virt_userspace_exit(void) { - if (current->rseq.event.sched_switch) /* * The generic optimization for deferring RSEQ updates until the next * exit relies on having a dedicated TIF_RSEQ. |
