s390: Remove extra check of task_stack_page()

There is no need to call task_stack_page(),
because try_get_task_stack() already takes care of that.

Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
This commit is contained in:
Maninder Singh 2026-04-28 16:26:07 +05:30 committed by Alexander Gordeev
parent 7fd2df204f
commit a59b9cb859

View File

@ -203,9 +203,6 @@ unsigned long __get_wchan(struct task_struct *p)
struct unwind_state state;
unsigned long ip = 0;
if (!task_stack_page(p))
return 0;
if (!try_get_task_stack(p))
return 0;