mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 22:56:47 +07:00
powerpc/mm/slice: remove dead code
This code is never compiled in, and it gets broken by the next patch, so remove it. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
b8c9354914
commit
7490755830
@ -803,12 +803,6 @@ int is_hugepage_only_range(struct mm_struct *mm, unsigned long addr,
|
||||
}
|
||||
#endif
|
||||
|
||||
#if 0 /* too verbose */
|
||||
slice_dbg("is_hugepage_only_range(mm=%p, addr=%lx, len=%lx)\n",
|
||||
mm, addr, len);
|
||||
slice_print_mask(" mask", &mask);
|
||||
slice_print_mask(" available", &available);
|
||||
#endif
|
||||
return !slice_check_range_fits(mm, &available, addr, len);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user