diff options
| author | Adrian Huang <[email protected]> | 2021-02-24 12:04:29 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-02-24 13:38:30 -0800 |
| commit | b7204006c8602f43793ee1b285e963084bdb1a26 (patch) | |
| tree | e9856e9080381a75dccd59039d40689fd775bbd7 /tools/perf/scripts/python/bin | |
| parent | 96403bfe50c344b587ea53894954a9d152af1c9d (diff) | |
mm/mmap.c: remove unnecessary local variable
The local variable 'retval' is assigned just for once in __do_sys_brk(),
and the function returns the value of the local variable right after the
assignment. Remove unnecessary assignment and local variable declaration.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Adrian Huang <[email protected]>
Acked-by: Souptick Joarder <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions