lkml.org 
[lkml]   [2021]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] mm/damon/dbgfs: remove unnecessary variables
Date
On Thu, 14 Oct 2021 10:03:33 +0800 Rongwei Wang <rongwei.wang@linux.alibaba.com> wrote:

> 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.
>
> Signed-off-by: Rongwei Wang <rongwei.wang@linux.alibaba.com>

Looks good to me. However, this doesn't cleanly applicable on latest -mm tree.
I will post a rebased version as a reply to this.


Thanks,
SJ

[...]

\
 
 \ /
  Last update: 2021-10-14 09:23    [W:1.473 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site