summaryrefslogtreecommitdiffstats
path: root/mm/page_table_check.c
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2023-07-14 01:26:36 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-08-18 10:12:29 -0700
commit6d144436d954311f2dbacb5bf7b084042448d83e (patch)
treef72a25d2545ecbce46ca5b61c353f78393d5ec60 /mm/page_table_check.c
parenta3b837130b5865521fa8662aceaa6ebc8d29389a (diff)
downloadlinux-stable-6d144436d954311f2dbacb5bf7b084042448d83e.tar.gz
linux-stable-6d144436d954311f2dbacb5bf7b084042448d83e.tar.bz2
linux-stable-6d144436d954311f2dbacb5bf7b084042448d83e.zip
mm/page_table_check: remove unused parameter in [__]page_table_check_pud_set
Remove unused addr in __page_table_check_pud_set and page_table_check_pud_set. Link: https://lkml.kernel.org/r/20230713172636.1705415-9-shikemeng@huaweicloud.com Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Cc: Pavel Tatashin <pasha.tatashin@soleen.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_table_check.c')
-rw-r--r--mm/page_table_check.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/page_table_check.c b/mm/page_table_check.c
index 033956704a64..84c8163984e5 100644
--- a/mm/page_table_check.c
+++ b/mm/page_table_check.c
@@ -208,8 +208,7 @@ void __page_table_check_pmd_set(struct mm_struct *mm, pmd_t *pmdp, pmd_t pmd)
}
EXPORT_SYMBOL(__page_table_check_pmd_set);
-void __page_table_check_pud_set(struct mm_struct *mm, unsigned long addr,
- pud_t *pudp, pud_t pud)
+void __page_table_check_pud_set(struct mm_struct *mm, pud_t *pudp, pud_t pud)
{
if (&init_mm == mm)
return;