diff options
author | Ma Wupeng <[email protected]> | 2022-11-25 14:54:44 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-11-30 15:59:08 -0800 |
commit | e0ff428042335c7b62785b3cf911c427a618bc86 (patch) | |
tree | 63c0769d658091792d37545ae74e66c78b7499f1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e833bc50340502a2a75b41bbd1a179aa769e2014 (diff) |
mm/memory-failure.c: cleanup in unpoison_memory
If freeit is true, the value of ret must be zero, there is no need to
check the value of freeit after label unlock_mutex.
We can drop variable freeit to do this cleanup.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ma Wupeng <[email protected]>
Acked-by: Naoya Horiguchi <[email protected]>
Reviewed-by: Miaohe Lin <[email protected]>
Cc: zhenwei pi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions