diff options
| author | Oleg Nesterov <[email protected]> | 2023-08-23 17:14:55 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-04 17:41:56 +0000 |
| commit | 398352049146e34ec6113a00c63457149a81345c (patch) | |
| tree | 046b0fbe2abe8e4dfd9f71a7094e484f91c38e06 /fs/proc/array.c | |
| parent | kill task_struct->thread_group (diff) | |
| download | kernel-398352049146e34ec6113a00c63457149a81345c.tar.gz kernel-398352049146e34ec6113a00c63457149a81345c.zip | |
__kill_pgrp_info: simplify the calculation of return value
No need to calculate/check the "success" variable, we can kill it and update
retval in the main loop unless it is zero.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Oleg Nesterov <[email protected]>
Suggested-by: David Laight <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
