Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Dan Carpenter and committed by
Thomas Gleixner
80adaccf 1fe4002c

-1
-1
include/linux/rseq.h
··· 126 126 */ 127 127 static inline void rseq_virt_userspace_exit(void) 128 128 { 129 - if (current->rseq.event.sched_switch) 130 129 /* 131 130 * The generic optimization for deferring RSEQ updates until the next 132 131 * exit relies on having a dedicated TIF_RSEQ.