]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
fuse: removed unused function fuse_uring_create() from header
authorLuis Henriques <luis@igalia.com>
Fri, 7 Feb 2025 13:35:02 +0000 (13:35 +0000)
committerMiklos Szeredi <mszeredi@redhat.com>
Mon, 31 Mar 2025 12:55:36 +0000 (14:55 +0200)
Function fuse_uring_create() is used only from dev_uring.c and does not
need to be exposed in the header file.  Furthermore, it has the wrong
signature.

While there, also remove the 'struct fuse_ring' forward declaration.

Signed-off-by: Luis Henriques <luis@igalia.com>
Reviewed-by: Bernd Schubert <bschubert@ddn.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dev_uring_i.h

index e5b39a92b7ca0e371512e8071f15c89bb30caf59..d87d0a55cb5f82633eeca67d58e7f5274e6e01b7 100644 (file)
@@ -173,12 +173,6 @@ static inline bool fuse_uring_ready(struct fuse_conn *fc)
 
 #else /* CONFIG_FUSE_IO_URING */
 
-struct fuse_ring;
-
-static inline void fuse_uring_create(struct fuse_conn *fc)
-{
-}
-
 static inline void fuse_uring_destruct(struct fuse_conn *fc)
 {
 }