]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
xfs: remove the unused xfs_buf_log_format_t typedef
authorChristoph Hellwig <hch@lst.de>
Mon, 15 Sep 2025 13:27:02 +0000 (06:27 -0700)
committerCarlos Maiolino <cem@kernel.org>
Tue, 16 Sep 2025 10:25:05 +0000 (12:25 +0200)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/libxfs/xfs_log_format.h

index aa8e3b557733f3ba00cfe5c2e6a6cf8e5c85997c..631af2e28c561bc791ba254f9da893181c4ff011 100644 (file)
@@ -541,7 +541,7 @@ struct xfs_log_dinode {
 #define __XFS_BLF_DATAMAP_SIZE ((XFS_MAX_BLOCKSIZE / XFS_BLF_CHUNK) / NBWORD)
 #define XFS_BLF_DATAMAP_SIZE   (__XFS_BLF_DATAMAP_SIZE + 1)
 
-typedef struct xfs_buf_log_format {
+struct xfs_buf_log_format {
        unsigned short  blf_type;       /* buf log item type indicator */
        unsigned short  blf_size;       /* size of this item */
        unsigned short  blf_flags;      /* misc state */
@@ -549,7 +549,7 @@ typedef struct xfs_buf_log_format {
        int64_t         blf_blkno;      /* starting blkno of this buf */
        unsigned int    blf_map_size;   /* used size of data bitmap in words */
        unsigned int    blf_data_map[XFS_BLF_DATAMAP_SIZE]; /* dirty bitmap */
-} xfs_buf_log_format_t;
+};
 
 /*
  * All buffers now need to tell recovery where the magic number