mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
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:
parent
7fd2df204f
commit
a59b9cb859
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user