diff options
| author | Julian Sun <sunjunchao2870@gmail.com> | 2024-07-21 07:27:01 -0400 |
|---|---|---|
| committer | Chandan Babu R <chandanbabu@kernel.org> | 2024-07-29 09:29:31 +0530 |
| commit | af5d92f2fad818663da2ce073b6fe15b9d56ffdc (patch) | |
| tree | 85688cb5339090545696e3b3f66b27875d56e943 /fs/xfs/libxfs/xfs_quota_defs.h | |
| parent | 19ebc8f84ea12e18dd6c8d3ecaf87bcf4666eee1 (diff) | |
xfs: remove unused parameter in macro XFS_DQUOT_LOGRES
In the macro definition of XFS_DQUOT_LOGRES, a parameter is accepted,
but it is not used. Hence, it should be removed.
This patch has only passed compilation test, but it should be fine.
Signed-off-by: Julian Sun <sunjunchao2870@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_quota_defs.h')
| -rw-r--r-- | fs/xfs/libxfs/xfs_quota_defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_quota_defs.h b/fs/xfs/libxfs/xfs_quota_defs.h index cb035da3f990..fb05f44f6c75 100644 --- a/fs/xfs/libxfs/xfs_quota_defs.h +++ b/fs/xfs/libxfs/xfs_quota_defs.h @@ -56,7 +56,7 @@ typedef uint8_t xfs_dqtype_t; * And, of course, we also need to take into account the dquot log format item * used to describe each dquot. */ -#define XFS_DQUOT_LOGRES(mp) \ +#define XFS_DQUOT_LOGRES \ ((sizeof(struct xfs_dq_logformat) + sizeof(struct xfs_disk_dquot)) * 6) #define XFS_IS_QUOTA_ON(mp) ((mp)->m_qflags & XFS_ALL_QUOTA_ACCT) |
