mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bernd Schubert <bschubert@ddn.com>
To: Luis Henriques <luis@igalia.com>, Miklos Szeredi <miklos@szeredi.hu>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fuse: removed unused function fuse_uring_create() from header
Date: Fri, 7 Feb 2025 14:42:47 +0100	[thread overview]
Message-ID: <56318e97-c849-4c2c-b35f-bc015a611a81@ddn.com> (raw)
In-Reply-To: <20250207133502.24209-1-luis@igalia.com>



On 2/7/25 14:35, Luis Henriques wrote:
> 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>
> ---
>  fs/fuse/dev_uring_i.h | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/fs/fuse/dev_uring_i.h b/fs/fuse/dev_uring_i.h
> index 2102b3d0c1ae..0d67738850c5 100644
> --- a/fs/fuse/dev_uring_i.h
> +++ b/fs/fuse/dev_uring_i.h
> @@ -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)
>  {
>  }


Ah yes, that is left over from earlier patch sets that were
still using ioctls.

Reviewed-by: Bernd Schubert <bschubert@ddn.com>

  reply	other threads:[~2025-02-07 13:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-07 13:35 Luis Henriques
2025-02-07 13:42 ` Bernd Schubert [this message]
2025-02-14  9:48 ` Miklos Szeredi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56318e97-c849-4c2c-b35f-bc015a611a81@ddn.com \
    --to=bschubert@ddn.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luis@igalia.com \
    --cc=miklos@szeredi.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®