projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8c9354
)
powerpc/mm/slice: remove dead code
author
Nicholas Piggin
<npiggin@gmail.com>
Wed, 7 Mar 2018 01:37:15 +0000
(11:37 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 13 Mar 2018 12:43:07 +0000
(23:43 +1100)
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>
arch/powerpc/mm/slice.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/mm/slice.c
b/arch/powerpc/mm/slice.c
index 4b2fd37b727a829c67820ba021c14432b65742b7..c4cb4de1fab51dd1f62e99f081e4bde6c9c55e80 100644
(file)
--- 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