Commit 189b93d00fd6f71b013ad472fd72c0f043b160a9

Authored by Heiko Carstens
Committed by Martin Schwidefsky
1 parent fdb6d070ef

[S390] switch_to: get rid of prev == next check

schedule() makes sure that prev != next before calling switch_to().
Therefore remove the redundant check.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

arch/s390/include/asm/system.h
... ... @@ -86,8 +86,6 @@
86 86 }
87 87  
88 88 #define switch_to(prev,next,last) do { \
89   - if (prev == next) \
90   - break; \
91 89 if (prev->mm) { \
92 90 save_fp_regs(&prev->thread.fp_regs); \
93 91 save_access_regs(&prev->thread.acrs[0]); \