Skip to content

Commit 43d24bc

Browse files
committed
xfs: remove unused xfs_inode_ag_iterator function
Not used by anyone, so get rid of it. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Brian Foster <[email protected]>
1 parent fc96be9 commit 43d24bc

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

fs/xfs/xfs_icache.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,17 +1005,6 @@ xfs_inode_ag_iterator_flags(
10051005
return last_error;
10061006
}
10071007

1008-
int
1009-
xfs_inode_ag_iterator(
1010-
struct xfs_mount *mp,
1011-
int (*execute)(struct xfs_inode *ip, int flags,
1012-
void *args),
1013-
int flags,
1014-
void *args)
1015-
{
1016-
return xfs_inode_ag_iterator_flags(mp, execute, flags, args, 0);
1017-
}
1018-
10191008
int
10201009
xfs_inode_ag_iterator_tag(
10211010
struct xfs_mount *mp,

fs/xfs/xfs_icache.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ int xfs_inode_free_quota_cowblocks(struct xfs_inode *ip);
7171
void xfs_cowblocks_worker(struct work_struct *);
7272
void xfs_queue_cowblocks(struct xfs_mount *);
7373

74-
int xfs_inode_ag_iterator(struct xfs_mount *mp,
75-
int (*execute)(struct xfs_inode *ip, int flags, void *args),
76-
int flags, void *args);
7774
int xfs_inode_ag_iterator_flags(struct xfs_mount *mp,
7875
int (*execute)(struct xfs_inode *ip, int flags, void *args),
7976
int flags, void *args, int iter_flags);

0 commit comments

Comments
 (0)