[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1579602344-57171-1-git-send-email-alex.shi@linux.alibaba.com>
Date: Tue, 21 Jan 2020 18:25:44 +0800
From: Alex Shi <alex.shi@...ux.alibaba.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Alexey Dobriyan <adobriyan@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
David Hildenbrand <david@...hat.com>,
"Michael S. Tsirkin" <mst@...hat.com>,
Pankaj gupta <pagupta@...hat.com>,
Konstantin Khlebnikov <koct9i@...il.com>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: [PATCH] proc: remove unused macro
KPMBITS is never used from it was introduced. better to remove it.
Signed-off-by: Alex Shi <alex.shi@...ux.alibaba.com>
Cc: Alexey Dobriyan <adobriyan@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: David Hildenbrand <david@...hat.com>
Cc: "Michael S. Tsirkin" <mst@...hat.com>
Cc: Pankaj gupta <pagupta@...hat.com>
Cc: Konstantin Khlebnikov <koct9i@...il.com>
Cc: linux-kernel@...r.kernel.org
Cc: linux-fsdevel@...r.kernel.org
---
fs/proc/page.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/proc/page.c b/fs/proc/page.c
index 7c952ee732e6..c4b1005a82bc 100644
--- a/fs/proc/page.c
+++ b/fs/proc/page.c
@@ -19,7 +19,6 @@
#define KPMSIZE sizeof(u64)
#define KPMMASK (KPMSIZE - 1)
-#define KPMBITS (KPMSIZE * BITS_PER_BYTE)
/* /proc/kpagecount - an array exposing page counts
*
--
1.8.3.1
Powered by blists - more mailing lists