diff options
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/mm/pgalloc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/frv/mm/pgalloc.c b/arch/frv/mm/pgalloc.c index c42c83d507bc..4fb63a36bd52 100644 --- a/arch/frv/mm/pgalloc.c +++ b/arch/frv/mm/pgalloc.c | |||
@@ -133,13 +133,7 @@ void pgd_dtor(void *pgd) | |||
133 | 133 | ||
134 | pgd_t *pgd_alloc(struct mm_struct *mm) | 134 | pgd_t *pgd_alloc(struct mm_struct *mm) |
135 | { | 135 | { |
136 | pgd_t *pgd; | 136 | return quicklist_alloc(0, GFP_KERNEL, pgd_ctor); |
137 | |||
138 | pgd = quicklist_alloc(0, GFP_KERNEL, pgd_ctor); | ||
139 | if (!pgd) | ||
140 | return pgd; | ||
141 | |||
142 | return pgd; | ||
143 | } | 137 | } |
144 | 138 | ||
145 | void pgd_free(struct mm_struct *mm, pgd_t *pgd) | 139 | void pgd_free(struct mm_struct *mm, pgd_t *pgd) |