]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/hmm.c: remove unused variables align_start and align_end
authorColin Ian King <colin.king@canonical.com>
Fri, 17 Aug 2018 22:50:07 +0000 (15:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Aug 2018 23:20:33 +0000 (16:20 -0700)
commit1e9264192961aa519595170aa8b0f7651a2ad28e
tree2f4779564aaeb410d8645beb86962c7415561ab2
parent5241d4727479aad77af50b80757c38268bfa4560
mm/hmm.c: remove unused variables align_start and align_end

Variables align_start and align_end are being assigned but are never
used hence they are redundant and can be removed.

Cleans up clang warnings:
  warning: variable 'align_start' set but not used [-Wunused-but-set-variable]
  warning: variable 'align_size' set but not used [-Wunused-but-set-variable]

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