diff options
author | Rongwei Wang <rongwei.wang@linux.alibaba.com> | 2021-11-05 21:47:09 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-06 21:30:45 +0100 |
commit | 9210622ab81f7e722da7563166d93b2a028a79d4 (patch) | |
tree | 94ec152cb9def778dc87a05be5906730bdc993fd /Documentation | |
parent | mm/damon/vaddr: constify static mm_walk_ops (diff) | |
download | linux-9210622ab81f7e722da7563166d93b2a028a79d4.tar.xz linux-9210622ab81f7e722da7563166d93b2a028a79d4.zip |
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 'Documentation')
0 files changed, 0 insertions, 0 deletions