]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/mm: remove warning about ‘type’ being set
authorMathieu Malaterre <malat@debian.org>
Fri, 22 Jun 2018 19:27:47 +0000 (21:27 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Aug 2018 12:12:38 +0000 (22:12 +1000)
commitfce278af81daf8599f9e94883cbe43068b6c4785
tree3ec63a70a993e7cb610895280700a77ed2d173bd
parentf2c6d0d1092e3da2bd36c768777e883fa3908548
powerpc/mm: remove warning about ‘type’ being set

‘type’ is only used when CONFIG_DEBUG_HIGHMEM is set. So add a possibly
unused tag to variable. Remove warning treated as error with W=1:

  arch/powerpc/mm/highmem.c:59:6: error: variable ‘type’ set but not used [-Werror=unused-but-set-variable]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/highmem.c