[XFS] Remove unused arguments from the XFS_BTREE_*_ADDR macros.
authorEric Sandeen <sandeen@sandeen.net>
Sat, 10 Feb 2007 07:37:33 +0000 (18:37 +1100)
committerTim Shimmin <tes@sgi.com>
Sat, 10 Feb 2007 07:37:33 +0000 (18:37 +1100)
commit2c36ddeda7f04c085d9a612cf8dab5f0a1cd5224
tree2609264dd04c10d6c448ec0fafa2cc1c480ad980
parent7bc5306d74922d9b14f507e1164d8dd852a98ad3
[XFS] Remove unused arguments from the XFS_BTREE_*_ADDR macros.

It makes it incrementally clearer to read the code when the top of a macro
spaghetti-pile only receives the 3 arguments it uses, rather than 2 extra
ones which are not used. Also when you start pulling this thread out of
the sweater (i.e. remove unused args from XFS_BTREE_*_ADDR), a couple
other third arms etc fall off too. If they're not used in the macro, then
they sometimes don't need to be passed to the function calling the macro
either, etc....

Patch provided by Eric Sandeen (sandeen@sandeen.net).

SGI-PV: 960197
SGI-Modid: xfs-linux-melb:xfs-kern:28037a

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/xfs_alloc_btree.h
fs/xfs/xfs_bmap.c
fs/xfs/xfs_bmap_btree.c
fs/xfs/xfs_bmap_btree.h
fs/xfs/xfs_btree.h
fs/xfs/xfs_fsops.c
fs/xfs/xfs_ialloc_btree.h