[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200804221532.22701.vda.linux@googlemail.com>
Date: Tue, 22 Apr 2008 15:32:22 +0200
From: Denys Vlasenko <vda.linux@...glemail.com>
To: David Chinner <dgc@....com>
Cc: Eric Sandeen <sandeen@...deen.net>, Adrian Bunk <bunk@...nel.org>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Shawn Bohrer <shawn.bohrer@...il.com>,
Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Arjan van de Ven <arjan@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH] xfs: remove unused params from functions in xfs_dir2_leaf.h
Hi David,
Inline functions xfs_dir2_dataptr_to_byte and xfs_dir2_byte_to_dataptr
are not using their 1st argument. gcc is able to optimize that out.
I still want to delete these parameters, as they serve no useful purpose
and by removing them I can make gcc to notice some additional
unused variables in the callers of these inlines, and warn me
about that.
There is no object code size difference from this change.
Compile tested only.
Signed-off-by: Denys Vlasenko <vda.linux@...glemail.com>
--
vda
View attachment "xfs7-xfs_dir2_leaf.h-remove_unused_params.patch" of type "text/x-diff" (4888 bytes)
Powered by blists - more mailing lists