]> git.baikalelectronics.ru Git - kernel.git/commit
mm/hmm: remove redundant variable align_end
authorColin Ian King <colin.king@canonical.com>
Thu, 16 Nov 2017 01:38:52 +0000 (17:38 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Nov 2017 02:21:07 +0000 (18:21 -0800)
commitfec11bc0396bbd82b152e6ce9a47483ffd69462a
tree9afa48f397045d3a2db38d7b03ddb35ae7a57bde
parent5b568acc3c2328f7d8da3cb03b4ef343f93545c6
mm/hmm: remove redundant variable align_end

Variable align_end is assigned a value but it is never read, so the
variable is redundant and can be removed.  Cleans up the clang warning:
Value stored to 'align_end' is never read

Link: http://lkml.kernel.org/r/20171017143837.23207-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Jérôme Glisse <jglisse@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hmm.c