[S390] facility detection: remove unused variable
arch/s390/kernel/early.c: In function 'setup_hpage': arch/s390/kernel/early.c:285:15: warning: unused variable 'facilities' Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
3c8ebca045
commit
e03172476c
|
@ -282,8 +282,6 @@ static noinline __init void setup_facility_list(void)
|
||||||
static noinline __init void setup_hpage(void)
|
static noinline __init void setup_hpage(void)
|
||||||
{
|
{
|
||||||
#ifndef CONFIG_DEBUG_PAGEALLOC
|
#ifndef CONFIG_DEBUG_PAGEALLOC
|
||||||
unsigned int facilities;
|
|
||||||
|
|
||||||
if (!test_facility(2) || !test_facility(8))
|
if (!test_facility(2) || !test_facility(8))
|
||||||
return;
|
return;
|
||||||
S390_lowcore.machine_flags |= MACHINE_FLAG_HPAGE;
|
S390_lowcore.machine_flags |= MACHINE_FLAG_HPAGE;
|
||||||
|
|
Reference in New Issue