diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-03-07 11:37:15 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-13 23:43:07 +1100 |
commit | 74907558301f6540422ed1f4012af241b2c91733 (patch) | |
tree | b48a38512a288f4b706a2718317ed3f59a276d23 /arch/powerpc/mm | |
parent | b8c93549142077da10a02329378a8cfa46ce511c (diff) |
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>
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r-- | arch/powerpc/mm/slice.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/mm/slice.c b/arch/powerpc/mm/slice.c index 4b2fd37b727a..c4cb4de1fab5 100644 --- a/arch/powerpc/mm/slice.c +++ b/arch/powerpc/mm/slice.c @@ -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 |