UPSTREAM: 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> (cherry picked from commit 9210622a) Bug: 228223814 Signed-off-by:
Hailong Tu <tuhailong@oppo.com> Change-Id: Iac1dfa450c23f09ced9b4edc9e8e42b6cb01b1c4
Loading
Please sign in to comment