diff options
| author | Miaohe Lin <[email protected]> | 2021-09-02 14:54:06 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-09-03 09:58:11 -0700 |
| commit | f2b346e4522c2849a3dc59b7077b8952918ef486 (patch) | |
| tree | d240d8b7fa83c8432ea94f8fd9ff4a4e1c39d997 /tools/perf/scripts/python/stackcollapse.py | |
| parent | bf11b9a8e9a93c1fc0ebfc2929622d5cf7d43888 (diff) | |
shmem: remove unneeded variable ret
Patch series "Cleanups for shmem".
This series contains cleanups to remove unneeded variable, header file,
function forward declaration and so on. More details can be found in the
respective changelogs.
This patch (of 4):
The local variable ret is always equal to -ENOMEM and never touched. So
remove it and return -ENOMEM directly to simplify the code.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions