From 4e0b6ca9dace8dc0731571efd2bf1897fcb11938 Mon Sep 17 00:00:00 2001 From: Chen Gang Date: Thu, 19 Nov 2015 03:24:42 +0800 Subject: asm-generic: page.h: Remove useless get_user_page and free_user_page They are not symmetric with each other, neither are used in real world (can not be found by grep command in source code root directory), so remove them. Signed-off-by: Chen Gang Acked-by: Russell King Acked-by: Greg Ungerer Signed-off-by: Arnd Bergmann --- arch/openrisc/include/asm/page.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/openrisc') diff --git a/arch/openrisc/include/asm/page.h b/arch/openrisc/include/asm/page.h index 108906f991d6..e613d3673034 100644 --- a/arch/openrisc/include/asm/page.h +++ b/arch/openrisc/include/asm/page.h @@ -40,9 +40,6 @@ #ifndef __ASSEMBLY__ -#define get_user_page(vaddr) __get_free_page(GFP_KERNEL) -#define free_user_page(page, addr) free_page(addr) - #define clear_page(page) memset((page), 0, PAGE_SIZE) #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE) -- cgit v1.2.3