summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-2.6.30/034-ppc_unused_variables.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-04-21 15:18:55 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-04-21 15:18:55 +0000
commit2e5d3d2795663d7c3cc88356b307e05f833f4e16 (patch)
tree18d1d0ac7c60dfab6671b1e43e9dea94fe747c34 /target/linux/generic/patches-2.6.30/034-ppc_unused_variables.patch
parentc6379f629559533056a5ba0eaab84a02d6867171 (diff)
downloadmtk-20170518-2e5d3d2795663d7c3cc88356b307e05f833f4e16.zip
mtk-20170518-2e5d3d2795663d7c3cc88356b307e05f833f4e16.tar.gz
mtk-20170518-2e5d3d2795663d7c3cc88356b307e05f833f4e16.tar.bz2
linux/2.6.30: R.I.P.
SVN-Revision: 31411
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 a21e289..0000000
--- 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;