Re: [PATCH v2] mm/damon/dbgfs: remove unnecessary variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 14 Oct 2021 10:03:33 +0800 Rongwei Wang <rongwei.wang@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxx>

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

[...]




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux