aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJohn Hubbard <[email protected]>2021-11-05 13:37:16 -0700
committerLinus Torvalds <[email protected]>2021-11-06 13:30:34 -0700
commit20b7fee738d65e50ca00e325ae27ee3efaa819f6 (patch)
tree84677ddddabc70db5a909a82c12c16b1fe1c8861 /tools/perf/scripts/python/bin
parentf8ee8909ac818e555ef18b57b0ee4b9fd0478b82 (diff)
mm/gup: further simplify __gup_device_huge()
Commit 6401c4eb57f9 ("mm: gup: fix potential pgmap refcnt leak in __gup_device_huge()") simplified the return paths, but didn't go quite far enough, as discussed in [1]. Remove the "ret" variable entirely, because there is enough information already available to provide the return value. [1] https://lore.kernel.org/r/CAHk-=wgQTRX=5SkCmS+zfmpqubGHGJvXX_HgnPG8JSpHKHBMeg@mail.gmail.com Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: John Hubbard <[email protected]> Suggested-by: Linus Torvalds <[email protected]> Reviewed-by: Jan Kara <[email protected]> Cc: Miaohe Lin <[email protected]> Cc: Claudio Imbrenda <[email protected]> Cc: Kirill A. Shutemov <[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