Skip to content

Commit aa36314

Browse files
btw616jmberg-intel
authored andcommitted
um: Remove unused MODULES_LEN macro
It's not used anywhere. And its definition doesn't seem right. Signed-off-by: Tiwei Bie <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent fc033cf commit aa36314

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/um/include/asm/pgtable.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ extern unsigned long end_iomem;
5252
#define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE)
5353
#define MODULES_VADDR VMALLOC_START
5454
#define MODULES_END VMALLOC_END
55-
#define MODULES_LEN (MODULES_VADDR - MODULES_END)
5655

5756
#define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY)
5857
#define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY)

0 commit comments

Comments
 (0)