summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorRongwei Wang <rongwei.wang@linux.alibaba.com>2021-11-05 23:47:09 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-11-06 23:30:45 +0300
commit9210622ab81f7e722da7563166d93b2a028a79d4 (patch)
tree94ec152cb9def778dc87a05be5906730bdc993fd /tools/perf/scripts
parent199b50f4c9485c46c2403d8b3e0eca90ec401ed6 (diff)
downloadlinux-9210622ab81f7e722da7563166d93b2a028a79d4.tar.xz
mm/damon/dbgfs: remove unnecessary variables
In some functions, it's unnecessary to declare 'err' and 'ret' variables at the same time. This patch mainly to simplify the issue of such declarations by reusing one variable. Link: https://lkml.kernel.org/r/20211014073014.35754-1-sj@kernel.org Signed-off-by: Rongwei Wang <rongwei.wang@linux.alibaba.com> Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions