Skip to contentSkip to conversation

fs/9p: Remove unused extern declaration

PATCH Applied YueHaibing 3 participants 3 messages Jul 20, 2023 9P file system

lore
Share & tools
lore

YueHaibing

author
#0 lore raw

PATCH 1/1 fs/9p: Remove unused extern declaration

commit bd238fb431f3 ("9p: Reorganization of 9p file system code") left behind this.

---
 fs/9p/v9fs.c | 2 --
 1 file changed, 2 deletions(-)
fs/9p/v9fs.c +0 -2
index c7f774fe398f..d525957594b6 100644
@@ -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
Signature · 1 line
2.34.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · CEST YueHaibing

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-).

Quoted 1 line
Quoted 18 lines
---
 fs/9p/v9fs.c | 2 --
 1 file changed, 2 deletions(-)
fs/9p/v9fs.c +0 -2
index c7f774fe398f..d525957594b6 100644
@@ -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
maintainer Applied
#2 lore raw
In reply to YueHaibing
Quoted 4 lines · YueHaibing

commit bd238fb431f3 ("9p: Reorganization of 9p file system code") left behind this.

Applied, thanks!

[1/1] fs/9p: Remove unused extern declaration

      commit: e6ab0b914c12acefbb0880dded48cb930ccab5cf

Best regards,

Signature · 1 line
Eric Van Hensbergen <[email protected]>