diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2016-05-09 09:52:28 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-05-11 04:20:32 -0400 |
commit | c53db5222b92d1df384a89ceba7808f8e4c535dd (patch) | |
tree | 8e36d568f8d0fbcca5f5fcd8c469933d51e05351 /arch/s390/mm | |
parent | c34a69059d7876e0793eb410deedfb08ccb22b02 (diff) |
s390/vmem: remove unused function parameter
vmem_pte_alloc() has an unused function parameter. Let's remove it.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm')
-rw-r--r-- | arch/s390/mm/vmem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/mm/vmem.c b/arch/s390/mm/vmem.c index f7ad6cd38e3e..d48cf25cfe99 100644 --- a/arch/s390/mm/vmem.c +++ b/arch/s390/mm/vmem.c | |||
@@ -56,7 +56,7 @@ static inline pmd_t *vmem_pmd_alloc(void) | |||
56 | return pmd; | 56 | return pmd; |
57 | } | 57 | } |
58 | 58 | ||
59 | static pte_t __ref *vmem_pte_alloc(unsigned long address) | 59 | static pte_t __ref *vmem_pte_alloc(void) |
60 | { | 60 | { |
61 | pte_t *pte; | 61 | pte_t *pte; |
62 | 62 | ||
@@ -121,7 +121,7 @@ static int vmem_add_mem(unsigned long start, unsigned long size, int ro) | |||
121 | continue; | 121 | continue; |
122 | } | 122 | } |
123 | if (pmd_none(*pm_dir)) { | 123 | if (pmd_none(*pm_dir)) { |
124 | pt_dir = vmem_pte_alloc(address); | 124 | pt_dir = vmem_pte_alloc(); |
125 | if (!pt_dir) | 125 | if (!pt_dir) |
126 | goto out; | 126 | goto out; |
127 | pmd_populate(&init_mm, pm_dir, pt_dir); | 127 | pmd_populate(&init_mm, pm_dir, pt_dir); |
@@ -233,7 +233,7 @@ int __meminit vmemmap_populate(unsigned long start, unsigned long end, int node) | |||
233 | address = (address + PMD_SIZE) & PMD_MASK; | 233 | address = (address + PMD_SIZE) & PMD_MASK; |
234 | continue; | 234 | continue; |
235 | } | 235 | } |
236 | pt_dir = vmem_pte_alloc(address); | 236 | pt_dir = vmem_pte_alloc(); |
237 | if (!pt_dir) | 237 | if (!pt_dir) |
238 | goto out; | 238 | goto out; |
239 | pmd_populate(&init_mm, pm_dir, pt_dir); | 239 | pmd_populate(&init_mm, pm_dir, pt_dir); |