The global variables __page_size and __page_shift are declared in vm_util.c, but they are never used anywhere in the codebase. This patch removes them to clean up the source and eliminate dead code. Signed-off-by: Zhang Chujun diff --git a/tools/testing/selftests/mm/vm_util.c b/tools/testing/selftests/mm/vm_util.c index 3869e68bb8b5..3983c368edd2 100644 --- a/tools/testing/selftests/mm/vm_util.c +++ b/tools/testing/selftests/mm/vm_util.c @@ -17,9 +17,6 @@ #define STATUS_FILE_PATH "/proc/self/status" #define MAX_LINE_LENGTH 500 -unsigned int __page_size; -unsigned int __page_shift; - uint64_t pagemap_get_entry(int fd, char *start) { const unsigned long pfn = (unsigned long)start / getpagesize(); -- 2.50.1.windows.1