]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
s390: Remove extra check of task_stack_page()
authorManinder Singh <maninder1.s@samsung.com>
Tue, 28 Apr 2026 10:56:07 +0000 (16:26 +0530)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 5 May 2026 08:12:47 +0000 (10:12 +0200)
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>
arch/s390/kernel/process.c

index 0df95dcb2101206e445db0b996a3db475b591d58..dabd569dbba8d531491b3fb823240cc8d76d2a57 100644 (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;