From: Christoph Hellwig Date: Wed, 30 Jun 2021 22:29:41 +0000 (-0400) Subject: xfs: remove the unused xfs_icdinode_has_bigtime helper X-Git-Tag: v5.13.0-rc0~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5b9782c9317b7ac0ff942dffb667bad8502f0932;p=thirdparty%2Fxfsprogs-dev.git xfs: remove the unused xfs_icdinode_has_bigtime helper Source kernel commit: 55f773380e922d3b975a7acb24331c76611cce30 Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_inode_buf.h b/libxfs/xfs_inode_buf.h index 9e1ae3838..b3097ea8b 100644 --- a/libxfs/xfs_inode_buf.h +++ b/libxfs/xfs_inode_buf.h @@ -32,11 +32,6 @@ struct xfs_icdinode { struct timespec64 di_crtime; /* time created */ }; -static inline bool xfs_icdinode_has_bigtime(const struct xfs_icdinode *icd) -{ - return icd->di_flags2 & XFS_DIFLAG2_BIGTIME; -} - /* * Inode location information. Stored in the inode and passed to * xfs_imap_to_bp() to get a buffer and dinode for a given inode.