Re: [PATCH] hfsplus/hfsplus_fs.h: Remove unnecessary struct declaration

From: Shyam Prasad N
Date: Wed Apr 07 2021 - 13:49:13 EST


Reviewed-by: Shyam Prasad N <sprasad@xxxxxxxxxxxxx>

On Wed, Apr 7, 2021 at 1:28 AM Wan Jiabing <wanjiabing@xxxxxxxx> wrote:
>
> struct hfs_btree is defined at 73rd line.
> The declaration here is unnecessary. Remove it.
>
> Signed-off-by: Wan Jiabing <wanjiabing@xxxxxxxx>
> ---
> 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
>


--
Regards,
Shyam