Message ID | 20200717112714.19304-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a3f3f8aa1f72dafe1450ccf8cbdfb1d12d42853a |
Headers | show |
Series | [-next] powerpc: Remove unneeded inline functions | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/build-ppc64le | success | Build succeeded |
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch powerpc/merge (c27fe454aff795023d2f3f90f41eb1a3104e614f) |
snowpatch_ozlabs/build-ppc64be | success | Build succeeded |
snowpatch_ozlabs/build-ppc64e | success | Build succeeded |
snowpatch_ozlabs/build-pmac32 | success | Build succeeded |
snowpatch_ozlabs/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 8 lines checked |
snowpatch_ozlabs/needsstable | success | Patch has no Fixes tags |
On Fri, 17 Jul 2020 19:27:14 +0800, YueHaibing wrote: > Both of those functions are only called from 64-bit only code, so the > stubs should not be needed at all. Applied to powerpc/next. [1/1] powerpc: Remove unneeded inline functions https://git.kernel.org/powerpc/c/a3f3f8aa1f72dafe1450ccf8cbdfb1d12d42853a cheers
diff --git a/arch/powerpc/include/asm/mmu_context.h b/arch/powerpc/include/asm/mmu_context.h index 1a474f6b1992..7f3658a97384 100644 --- a/arch/powerpc/include/asm/mmu_context.h +++ b/arch/powerpc/include/asm/mmu_context.h @@ -218,8 +218,6 @@ static inline void inc_mm_active_cpus(struct mm_struct *mm) { } static inline void dec_mm_active_cpus(struct mm_struct *mm) { } static inline void mm_context_add_copro(struct mm_struct *mm) { } static inline void mm_context_remove_copro(struct mm_struct *mm) { } -static inline void mm_context_add_vas_windows(struct mm_struct *mm) { } -static inline void mm_context_remove_vas_windows(struct mm_struct *mm) { } #endif
Both of those functions are only called from 64-bit only code, so the stubs should not be needed at all. Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: YueHaibing <yuehaibing@huawei.com> --- arch/powerpc/include/asm/mmu_context.h | 2 -- 1 file changed, 2 deletions(-)