microblaze: Cleanup unused functions
authorGuo Ren <guoren@linux.alibaba.com>
Sun, 30 May 2021 04:53:28 +0000 (04:53 +0000)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 31 May 2021 12:24:25 +0000 (14:24 +0200)
These functions haven't been used, so just remove them. The patch
just uses grep to verify.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Michal Simek <monstr@monstr.eu>
Link: https://lore.kernel.org/r/1622350408-44875-3-git-send-email-guoren@kernel.org
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/asm/page.h

index bf681f2..ce55097 100644 (file)
@@ -35,9 +35,6 @@
 
 #define ARCH_SLAB_MINALIGN     L1_CACHE_BYTES
 
-#define PAGE_UP(addr)  (((addr)+((PAGE_SIZE)-1))&(~((PAGE_SIZE)-1)))
-#define PAGE_DOWN(addr)        ((addr)&(~((PAGE_SIZE)-1)))
-
 /*
  * PAGE_OFFSET -- the first address of the first page of memory. With MMU
  * it is set to the kernel start address (aligned on a page boundary).