Re: [PATCH -next] fs/9p: Remove unused extern declaration

From: Christian Schoenebeck
Date: Thu Jul 20 2023 - 14:36:34 EST


On Thursday, July 20, 2023 4:35:06 PM CEST YueHaibing wrote:
> commit bd238fb431f3 ("9p: Reorganization of 9p file system code")
> left behind this.

Right, it renamed v9fs_error_init() -> p9_error_init().

What a giant patch that was BTW (3422+, 3130-).

> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Reviewed-by: Christian Schoenebeck <linux_oss@xxxxxxxxxxxxx>

> ---
> fs/9p/v9fs.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c
> index c7f774fe398f..d525957594b6 100644
> --- a/fs/9p/v9fs.c
> +++ b/fs/9p/v9fs.c
> @@ -545,8 +545,6 @@ void v9fs_session_begin_cancel(struct v9fs_session_info *v9ses)
> p9_client_begin_disconnect(v9ses->clnt);
> }
>
> -extern int v9fs_error_init(void);
> -
> static struct kobject *v9fs_kobj;
>
> #ifdef CONFIG_9P_FSCACHE
>