fuse: removed unused function fuse_uring_create() from header
Subsystems (3)
PATCH 1/1 fuse: removed unused function fuse_uring_create() from header
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.
--- fs/fuse/dev_uring_i.h | 6 ------ 1 file changed, 6 deletions(-)
fs/fuse/dev_uring_i.h +0 -6
@@ -172,12 +172,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) { }
Quoted 18 lines · Luis Henriques
Function
fuse_uring_create()is used only fromdev_uring.cand 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 <[email protected]>--- fs/fuse/dev_uring_i.h | 6 ------ 1 file changed, 6 deletions(-)fs/fuse/dev_uring_i.h +0
-0@@ -172,12 +172,6 @@ static inline bool fuse_uring_ready(struct fuse_conn *fc)#else /* CONFIG_FUSE_IO_URING */
fs/fuse/dev_uring_i.h static inline bool fuse_uring_ready(struct fuse_conn *fc) · line 177
Quoted 10 lines
fs/fuse/dev_uring_i.h +0
-6-struct fuse_ring ; - -static inline void fuse_uring_create (struct fuse_conn *fc) -{ -} -static inline void fuse_uring_destruct (struct fuse_conn *fc) { }
Ah yes, that is left over from earlier patch sets that were still using ioctls.
Quoted 6 lines · Luis Henriques
Function
fuse_uring_create()is used only fromdev_uring.cand 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.
Applied, thanks.
Miklos