diff mbox series

[1/6] mm: shmem: drop the unused macro

Message ID 69264cee1d938442477e657004e4924f8a5c4dd4.1738918357.git.baolin.wang@linux.alibaba.com (mailing list archive)
State New
Headers show
Series Some trivial cleanups for shmem | expand

Commit Message

Baolin Wang Feb. 7, 2025, 9:44 a.m. UTC
Drop the unused 'BLOCKS_PER_PAGE' macro.

Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
---
 mm/shmem.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/mm/shmem.c b/mm/shmem.c
index 745f130bfb4c..ddf800357e7a 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -86,7 +86,6 @@  static struct vfsmount *shm_mnt __ro_after_init;
 
 #include "internal.h"
 
-#define BLOCKS_PER_PAGE  (PAGE_SIZE/512)
 #define VM_ACCT(size)    (PAGE_ALIGN(size) >> PAGE_SHIFT)
 
 /* Pretend that each entry is of this size in directory's i_size */