aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/stackprotector.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/stackprotector.h')
-rw-r--r--arch/arm/include/asm/stackprotector.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/include/asm/stackprotector.h b/arch/arm/include/asm/stackprotector.h
index 72a20c3a0a90..088d03161be5 100644
--- a/arch/arm/include/asm/stackprotector.h
+++ b/arch/arm/include/asm/stackprotector.h
@@ -39,8 +39,6 @@ static __always_inline void boot_init_stack_canary(void)
current->stack_canary = canary;
#ifndef CONFIG_STACKPROTECTOR_PER_TASK
__stack_chk_guard = current->stack_canary;
-#else
- current_thread_info()->stack_canary = current->stack_canary;
#endif
}