]> git.baikalelectronics.ru Git - kernel.git/commit
mm/migrate: remove redundant variables used in a for-loop
authorColin Ian King <colin.i.king@gmail.com>
Fri, 14 Jan 2022 22:08:53 +0000 (14:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Jan 2022 14:30:31 +0000 (16:30 +0200)
commit6ee3199e2fc0ca52beb608386ae874fa223569f5
tree82f93bd0b580d7bd42d6b248d31283caa5bcae96
parentcec6efc692d5930b2ab34935829034941e50d370
mm/migrate: remove redundant variables used in a for-loop

The variable addr is being set and incremented in a for-loop but not
actually being used.  It is redundant and so addr and also variable
start can be removed.

Link: https://lkml.kernel.org/r/20211221185729.609630-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/migrate.c