diff options
| author | Miaohe Lin <[email protected]> | 2021-05-04 18:33:49 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-05-05 11:27:20 -0700 |
| commit | 8fd5eda4c7268b62f46b2ed76b96f9e41e128a47 (patch) | |
| tree | f11de032851597b7629f134a15311b5f6170a436 /tools/perf/scripts/python/flamegraph.py | |
| parent | 74e579bf231a337ab3786d59e64bc94f45ca7b3f (diff) | |
mm/huge_memory.c: remove unnecessary local variable ret2
There is no need to use a new local variable ret2 to get the return
value of handle_userfault(). Use ret directly to make code more
succinct.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Mike Kravetz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions