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@xxxxxxxxxxx).
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Wed Feb 7 11:26:40 AEDT 2007
Workarea: chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by: dgc,sandeen@xxxxxxxxxxx
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:28037a
fs/xfs/xfsidbg.c - 1.311 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfsidbg.c.diff?r1=text&tr1=1.311&r2=text&tr2=1.310&f=h
- Remove unused arguments from XFS_BTREE_*_ADDR macros.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
fs/xfs/xfs_ialloc_btree.h - 1.32 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_ialloc_btree.h.diff?r1=text&tr1=1.32&r2=text&tr2=1.31&f=h
- Remove unused arguments from XFS_BTREE_*_ADDR macros.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
fs/xfs/xfs_bmap_btree.h - 1.75 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_bmap_btree.h.diff?r1=text&tr1=1.75&r2=text&tr2=1.74&f=h
- Remove unused arguments from XFS_BTREE_*_ADDR macros.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
fs/xfs/xfs_bmap_btree.c - 1.159 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_bmap_btree.c.diff?r1=text&tr1=1.159&r2=text&tr2=1.158&f=h
- Remove unused arguments from XFS_BTREE_*_ADDR macros.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
fs/xfs/xfs_btree.h - 1.65 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_btree.h.diff?r1=text&tr1=1.65&r2=text&tr2=1.64&f=h
- Remove unused arguments from XFS_BTREE_*_ADDR macros.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
fs/xfs/xfs_fsops.c - 1.121 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_fsops.c.diff?r1=text&tr1=1.121&r2=text&tr2=1.120&f=h
- Remove unused arguments from XFS_BTREE_*_ADDR macros.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
fs/xfs/xfs_bmap.c - 1.363 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_bmap.c.diff?r1=text&tr1=1.363&r2=text&tr2=1.362&f=h
- Remove unused arguments from XFS_BTREE_*_ADDR macros.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
fs/xfs/xfs_alloc_btree.h - 1.30 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_alloc_btree.h.diff?r1=text&tr1=1.30&r2=text&tr2=1.29&f=h
- Remove unused arguments from XFS_BTREE_*_ADDR macros.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
|