Message ID | 20210406104500.675141-1-wanjiabing@vivo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | hfsplus/hfsplus_fs.h: Remove unnecessary struct declaration | expand |
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com> On Wed, Apr 7, 2021 at 1:28 AM Wan Jiabing <wanjiabing@vivo.com> wrote: > > struct hfs_btree is defined at 73rd line. > The declaration here is unnecessary. Remove it. > > Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> > --- > fs/hfsplus/hfsplus_fs.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h > index 12b20479ed2b..4da395c25f4a 100644 > --- a/fs/hfsplus/hfsplus_fs.h > +++ b/fs/hfsplus/hfsplus_fs.h > @@ -139,7 +139,6 @@ struct hfs_bnode { > */ > > struct hfsplus_vh; > -struct hfs_btree; > > struct hfsplus_sb_info { > void *s_vhdr_buf; > -- > 2.25.1 >
diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h index 12b20479ed2b..4da395c25f4a 100644 --- a/fs/hfsplus/hfsplus_fs.h +++ b/fs/hfsplus/hfsplus_fs.h @@ -139,7 +139,6 @@ struct hfs_bnode { */ struct hfsplus_vh; -struct hfs_btree; struct hfsplus_sb_info { void *s_vhdr_buf;
struct hfs_btree is defined at 73rd line. The declaration here is unnecessary. Remove it. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> --- fs/hfsplus/hfsplus_fs.h | 1 - 1 file changed, 1 deletion(-)