diff options
| author | Liu Song <[email protected]> | 2021-11-05 13:39:03 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-11-06 13:30:36 -0700 |
| commit | 6af5fa0dc7836ea44bb0659f002b0cd0a2970554 (patch) | |
| tree | 095dde3f6af3437cf73fa3beb7c7964b43ca4b26 /tools/perf/scripts/python | |
| parent | e26e0cc30b48cad5f2704f6a22fa5cac9fdaaece (diff) | |
mm/mprotect.c: avoid repeated assignment in do_mprotect_pkey()
After adjustment, the repeated assignment of "prev" is avoided, and the
readability of the code is improved.
Link: https://lkml.kernel.org/r/[email protected]
Reviewed-by: Andrew Morton <[email protected]>
Signed-off-by: Liu Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions