From: Christoph Hellwig Date: Wed, 19 Apr 2017 22:19:45 +0000 (-0700) Subject: xfs: remove the unused XFS_MAXLINK_1 define X-Git-Tag: v4.12-rc1~76^2~18 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=895e9bfc9e36c8e39ea4d2129dc2cbde1aafec99;p=karo-tx-linux.git xfs: remove the unused XFS_MAXLINK_1 define Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong --- diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h index 6b7579e7b60a..d114ed80a076 100644 --- a/fs/xfs/libxfs/xfs_format.h +++ b/fs/xfs/libxfs/xfs_format.h @@ -930,10 +930,8 @@ static inline uint xfs_dinode_size(int version) /* * The 32 bit link count in the inode theoretically maxes out at UINT_MAX. * Since the pathconf interface is signed, we use 2^31 - 1 instead. - * The old inode format had a 16 bit link count, so its maximum is USHRT_MAX. */ #define XFS_MAXLINK ((1U << 31) - 1U) -#define XFS_MAXLINK_1 65535U /* * Values for di_format