From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Bunk Subject: [-mm patch] fs/reiserfs/stree.c: make MAX_KEY static Date: Sun, 1 May 2005 17:47:23 +0200 Message-ID: <20050501154723.GV3592@stusta.de> Mime-Version: 1.0 Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Al Viro Cc: reiserfs-dev@namesys.com, reiserfs-list@namesys.com, linux-kernel@vger.kernel.org Since MAX_KEY no longer has any user in other files, it can be made static. Signed-off-by: Adrian Bunk --- linux-2.6.12-rc3-mm2-full/fs/reiserfs/stree.c.old 2005-05-01 15:33:11.000000000 +0200 +++ linux-2.6.12-rc3-mm2-full/fs/reiserfs/stree.c 2005-05-01 15:33:19.000000000 +0200 @@ -223,7 +223,7 @@ const struct reiserfs_key MIN_KEY = {0, 0, {{0, 0},}}; /* Maximal possible key. It is never in the tree. */ -const struct reiserfs_key MAX_KEY = { +static const struct reiserfs_key MAX_KEY = { __constant_cpu_to_le32(0xffffffff), __constant_cpu_to_le32(0xffffffff), {{__constant_cpu_to_le32(0xffffffff),