mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] finish_stop: don't check stop_count < 0
Remove an obscure 'stop_count < 0' check in finish_stop(). The previous patch made this case impossible. Signed-off-by: Oleg Nesterov <[email protected]> Cc: john stultz <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
dac27f4a09
commit
883606a7c9
1 changed files with 1 additions and 1 deletions
|
|
@ -1657,7 +1657,7 @@ finish_stop(int stop_count)
|
|||
* a group stop in progress and we are the last to stop,
|
||||
* report to the parent. When ptraced, every thread reports itself.
|
||||
*/
|
||||
if (stop_count < 0 || (current->ptrace & PT_PTRACED))
|
||||
if (current->ptrace & PT_PTRACED)
|
||||
to_self = 1;
|
||||
else if (stop_count == 0)
|
||||
to_self = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue