]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/damon: remove unnecessary variable initialization
authorXin Hao <xhao@linux.alibaba.com>
Fri, 5 Nov 2021 20:48:04 +0000 (13:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Nov 2021 20:30:46 +0000 (13:30 -0700)
commita460a36034bad4403c2c62e04a521bc6987ae5db
tree36b39ebb28e8f6613f325646ae8a5e1eb9cfd798
parentbec976b691437d056a92964cb7af07ee1a54221a
mm/damon: remove unnecessary variable initialization

Patch series "mm/damon: Fix some small bugs", v4.

This patch (of 2):

In 'damon_va_apply_three_regions' there is no need to set variable 'i'
to zero.

Link: https://lkml.kernel.org/r/b7df8d3dad0943a37e01f60c441b1968b2b20354.1634720326.git.xhao@linux.alibaba.com
Link: https://lkml.kernel.org/r/cover.1634720326.git.xhao@linux.alibaba.com
Signed-off-by: Xin Hao <xhao@linux.alibaba.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/damon/vaddr.c