mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
frv: remove unnecessary code
remove unnecessary code that matches this coccinelle pattern if (...) return ret; return ret; Signed-off-by: Greg Dietsche <[email protected]> Signed-off-by: David Howells <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
committed by
Linus Torvalds
parent
83c1b31794
commit
dbfe898777
@@ -133,13 +133,7 @@ void pgd_dtor(void *pgd)
|
||||
|
||||
pgd_t *pgd_alloc(struct mm_struct *mm)
|
||||
{
|
||||
pgd_t *pgd;
|
||||
|
||||
pgd = quicklist_alloc(0, GFP_KERNEL, pgd_ctor);
|
||||
if (!pgd)
|
||||
return pgd;
|
||||
|
||||
return pgd;
|
||||
return quicklist_alloc(0, GFP_KERNEL, pgd_ctor);
|
||||
}
|
||||
|
||||
void pgd_free(struct mm_struct *mm, pgd_t *pgd)
|
||||
|
||||
Reference in New Issue
Block a user