Skip to content

Commit 841c7b8

Browse files
luis-henrixMiklos Szeredi
authored andcommitted
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. Signed-off-by: Luis Henriques <[email protected]> Reviewed-by: Bernd Schubert <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
1 parent 09098e6 commit 841c7b8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

fs/fuse/dev_uring_i.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,6 @@ static inline bool fuse_uring_ready(struct fuse_conn *fc)
173173

174174
#else /* CONFIG_FUSE_IO_URING */
175175

176-
struct fuse_ring;
177-
178-
static inline void fuse_uring_create(struct fuse_conn *fc)
179-
{
180-
}
181-
182176
static inline void fuse_uring_destruct(struct fuse_conn *fc)
183177
{
184178
}

0 commit comments

Comments
 (0)