2021-04-06 20:00:07

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] hfsplus/hfsplus_fs.h: Remove unnecessary struct declaration

struct hfs_btree is defined at 73rd line.
The declaration here is unnecessary. Remove it.

Signed-off-by: Wan Jiabing <[email protected]>
---
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


2021-04-07 21:47:21

by Shyam Prasad N

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

Reviewed-by: Shyam Prasad N <[email protected]>

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