xfs: remove a pointless comment duplicated above all xfs_item_ops instances

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
Christoph Hellwig 2019-06-28 19:27:34 -07:00 committed by Darrick J. Wong
parent 89ae379d56
commit 95cf0e4a0d
8 changed files with 0 additions and 39 deletions

View File

@ -126,9 +126,6 @@ xfs_bui_item_release(
xfs_bui_release(BUI_ITEM(lip)); xfs_bui_release(BUI_ITEM(lip));
} }
/*
* This is the ops vector shared by all bui log items.
*/
static const struct xfs_item_ops xfs_bui_item_ops = { static const struct xfs_item_ops xfs_bui_item_ops = {
.iop_size = xfs_bui_item_size, .iop_size = xfs_bui_item_size,
.iop_format = xfs_bui_item_format, .iop_format = xfs_bui_item_format,
@ -209,9 +206,6 @@ xfs_bud_item_release(
kmem_zone_free(xfs_bud_zone, budp); kmem_zone_free(xfs_bud_zone, budp);
} }
/*
* This is the ops vector shared by all bud log items.
*/
static const struct xfs_item_ops xfs_bud_item_ops = { static const struct xfs_item_ops xfs_bud_item_ops = {
.flags = XFS_ITEM_RELEASE_WHEN_COMMITTED, .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED,
.iop_size = xfs_bud_item_size, .iop_size = xfs_bud_item_size,

View File

@ -680,9 +680,6 @@ xfs_buf_item_committed(
return lsn; return lsn;
} }
/*
* This is the ops vector shared by all buf log items.
*/
static const struct xfs_item_ops xfs_buf_item_ops = { static const struct xfs_item_ops xfs_buf_item_ops = {
.iop_size = xfs_buf_item_size, .iop_size = xfs_buf_item_size,
.iop_format = xfs_buf_item_format, .iop_format = xfs_buf_item_format,

View File

@ -223,9 +223,6 @@ xfs_qm_dquot_logitem_committing(
return xfs_qm_dquot_logitem_release(lip); return xfs_qm_dquot_logitem_release(lip);
} }
/*
* This is the ops vector for dquots
*/
static const struct xfs_item_ops xfs_dquot_item_ops = { static const struct xfs_item_ops xfs_dquot_item_ops = {
.iop_size = xfs_qm_dquot_logitem_size, .iop_size = xfs_qm_dquot_logitem_size,
.iop_format = xfs_qm_dquot_logitem_format, .iop_format = xfs_qm_dquot_logitem_format,
@ -334,9 +331,6 @@ static const struct xfs_item_ops xfs_qm_qoffend_logitem_ops = {
.iop_push = xfs_qm_qoff_logitem_push, .iop_push = xfs_qm_qoff_logitem_push,
}; };
/*
* This is the ops vector shared by all quotaoff-start log items.
*/
static const struct xfs_item_ops xfs_qm_qoff_logitem_ops = { static const struct xfs_item_ops xfs_qm_qoff_logitem_ops = {
.iop_size = xfs_qm_qoff_logitem_size, .iop_size = xfs_qm_qoff_logitem_size,
.iop_format = xfs_qm_qoff_logitem_format, .iop_format = xfs_qm_qoff_logitem_format,

View File

@ -136,9 +136,6 @@ xfs_efi_item_release(
xfs_efi_release(EFI_ITEM(lip)); xfs_efi_release(EFI_ITEM(lip));
} }
/*
* This is the ops vector shared by all efi log items.
*/
static const struct xfs_item_ops xfs_efi_item_ops = { static const struct xfs_item_ops xfs_efi_item_ops = {
.iop_size = xfs_efi_item_size, .iop_size = xfs_efi_item_size,
.iop_format = xfs_efi_item_format, .iop_format = xfs_efi_item_format,
@ -308,9 +305,6 @@ xfs_efd_item_release(
xfs_efd_item_free(efdp); xfs_efd_item_free(efdp);
} }
/*
* This is the ops vector shared by all efd log items.
*/
static const struct xfs_item_ops xfs_efd_item_ops = { static const struct xfs_item_ops xfs_efd_item_ops = {
.flags = XFS_ITEM_RELEASE_WHEN_COMMITTED, .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED,
.iop_size = xfs_efd_item_size, .iop_size = xfs_efd_item_size,

View File

@ -63,9 +63,6 @@ xfs_icreate_item_release(
kmem_zone_free(xfs_icreate_zone, ICR_ITEM(lip)); kmem_zone_free(xfs_icreate_zone, ICR_ITEM(lip));
} }
/*
* This is the ops vector shared by all buf log items.
*/
static const struct xfs_item_ops xfs_icreate_item_ops = { static const struct xfs_item_ops xfs_icreate_item_ops = {
.flags = XFS_ITEM_RELEASE_WHEN_COMMITTED, .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED,
.iop_size = xfs_icreate_item_size, .iop_size = xfs_icreate_item_size,

View File

@ -628,9 +628,6 @@ xfs_inode_item_committing(
return xfs_inode_item_release(lip); return xfs_inode_item_release(lip);
} }
/*
* This is the ops vector shared by all buf log items.
*/
static const struct xfs_item_ops xfs_inode_item_ops = { static const struct xfs_item_ops xfs_inode_item_ops = {
.iop_size = xfs_inode_item_size, .iop_size = xfs_inode_item_size,
.iop_format = xfs_inode_item_format, .iop_format = xfs_inode_item_format,

View File

@ -124,9 +124,6 @@ xfs_cui_item_release(
xfs_cui_release(CUI_ITEM(lip)); xfs_cui_release(CUI_ITEM(lip));
} }
/*
* This is the ops vector shared by all cui log items.
*/
static const struct xfs_item_ops xfs_cui_item_ops = { static const struct xfs_item_ops xfs_cui_item_ops = {
.iop_size = xfs_cui_item_size, .iop_size = xfs_cui_item_size,
.iop_format = xfs_cui_item_format, .iop_format = xfs_cui_item_format,
@ -213,9 +210,6 @@ xfs_cud_item_release(
kmem_zone_free(xfs_cud_zone, cudp); kmem_zone_free(xfs_cud_zone, cudp);
} }
/*
* This is the ops vector shared by all cud log items.
*/
static const struct xfs_item_ops xfs_cud_item_ops = { static const struct xfs_item_ops xfs_cud_item_ops = {
.flags = XFS_ITEM_RELEASE_WHEN_COMMITTED, .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED,
.iop_size = xfs_cud_item_size, .iop_size = xfs_cud_item_size,

View File

@ -123,9 +123,6 @@ xfs_rui_item_release(
xfs_rui_release(RUI_ITEM(lip)); xfs_rui_release(RUI_ITEM(lip));
} }
/*
* This is the ops vector shared by all rui log items.
*/
static const struct xfs_item_ops xfs_rui_item_ops = { static const struct xfs_item_ops xfs_rui_item_ops = {
.iop_size = xfs_rui_item_size, .iop_size = xfs_rui_item_size,
.iop_format = xfs_rui_item_format, .iop_format = xfs_rui_item_format,
@ -234,9 +231,6 @@ xfs_rud_item_release(
kmem_zone_free(xfs_rud_zone, rudp); kmem_zone_free(xfs_rud_zone, rudp);
} }
/*
* This is the ops vector shared by all rud log items.
*/
static const struct xfs_item_ops xfs_rud_item_ops = { static const struct xfs_item_ops xfs_rud_item_ops = {
.flags = XFS_ITEM_RELEASE_WHEN_COMMITTED, .flags = XFS_ITEM_RELEASE_WHEN_COMMITTED,
.iop_size = xfs_rud_item_size, .iop_size = xfs_rud_item_size,