mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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
This commit is contained in:
committed by
Thomas Gleixner
parent
1fe4002cf7
commit
80adaccf0e
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user