diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-10-29 10:50:40 -0400 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-10-29 10:50:50 -0400 |
commit | e03172476ce773dd4491868b232a9239a42dd49e (patch) | |
tree | b68a17cb942a0b5e9e7d31f67039f37c59722fba | |
parent | 3c8ebca0453c71a2a8be79e6dd40e7be2d6167cb (diff) |
[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>
-rw-r--r-- | arch/s390/kernel/early.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index d149609e46e6..3b7e7dddc324 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c | |||
@@ -282,8 +282,6 @@ static noinline __init void setup_facility_list(void) | |||
282 | static noinline __init void setup_hpage(void) | 282 | static noinline __init void setup_hpage(void) |
283 | { | 283 | { |
284 | #ifndef CONFIG_DEBUG_PAGEALLOC | 284 | #ifndef CONFIG_DEBUG_PAGEALLOC |
285 | unsigned int facilities; | ||
286 | |||
287 | if (!test_facility(2) || !test_facility(8)) | 285 | if (!test_facility(2) || !test_facility(8)) |
288 | return; | 286 | return; |
289 | S390_lowcore.machine_flags |= MACHINE_FLAG_HPAGE; | 287 | S390_lowcore.machine_flags |= MACHINE_FLAG_HPAGE; |