gfs2: Remove unused variable sb_format
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 24 Mar 2021 09:50:50 +0000 (10:50 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Sat, 3 Apr 2021 19:38:11 +0000 (21:38 +0200)
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/incore.h
fs/gfs2/ops_fstype.c

index 6e37734b74251a926587f6557acf01eaec1a58f7..e6f820f146cb1e774ca921ab322bcc7d337ae221 100644 (file)
@@ -625,7 +625,6 @@ struct gfs2_inum_host {
 struct gfs2_sb_host {
        u32 sb_magic;
        u32 sb_type;
-       u32 sb_format;
 
        u32 sb_fs_format;
        u32 sb_multihost_format;
index aa4136055a83c220c02cdab111f779141dc93d7b..56e7a064fe076e6578d0c3404ea39054e5d203ac 100644 (file)
@@ -204,7 +204,6 @@ static void gfs2_sb_in(struct gfs2_sbd *sdp, const void *buf)
 
        sb->sb_magic = be32_to_cpu(str->sb_header.mh_magic);
        sb->sb_type = be32_to_cpu(str->sb_header.mh_type);
-       sb->sb_format = be32_to_cpu(str->sb_header.mh_format);
        sb->sb_fs_format = be32_to_cpu(str->sb_fs_format);
        sb->sb_multihost_format = be32_to_cpu(str->sb_multihost_format);
        sb->sb_bsize = be32_to_cpu(str->sb_bsize);