aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.30/034-ppc_unused_variables.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-2.6.30/034-ppc_unused_variables.patch')
-rw-r--r--target/linux/generic/patches-2.6.30/034-ppc_unused_variables.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/target/linux/generic/patches-2.6.30/034-ppc_unused_variables.patch b/target/linux/generic/patches-2.6.30/034-ppc_unused_variables.patch
deleted file mode 100644
index a21e289eb6..0000000000
--- a/target/linux/generic/patches-2.6.30/034-ppc_unused_variables.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/arch/powerpc/include/asm/pgtable-ppc64.h
-+++ b/arch/powerpc/include/asm/pgtable-ppc64.h
-@@ -226,7 +226,7 @@ static inline int __ptep_test_and_clear_
- static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr,
- pte_t *ptep)
- {
-- unsigned long old;
-+ unsigned long old __maybe_unused;
-
- if ((pte_val(*ptep) & _PAGE_RW) == 0)
- return;
-@@ -236,7 +236,7 @@ static inline void ptep_set_wrprotect(st
- static inline void huge_ptep_set_wrprotect(struct mm_struct *mm,
- unsigned long addr, pte_t *ptep)
- {
-- unsigned long old;
-+ unsigned long old __maybe_unused;
-
- if ((pte_val(*ptep) & _PAGE_RW) == 0)
- return;