From: Allison Henderson <allison.henderson@oracle.com>
To: "yuehaibing@huawei.com" <yuehaibing@huawei.com>,
"edumazet@google.com" <edumazet@google.com>,
"davem@davemloft.net" <davem@davemloft.net>,
"kuba@kernel.org" <kuba@kernel.org>,
"pabeni@redhat.com" <pabeni@redhat.com>
Cc: "rds-devel@oss.oracle.com" <rds-devel@oss.oracle.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net-next] RDS: IB: Remove unused declarations
Date: Wed, 31 Jul 2024 18:31:25 +0000 [thread overview]
Message-ID: <40988b083db40968700c79a752590fe78b640a02.camel@oracle.com> (raw)
In-Reply-To: <20240731063630.3592046-1-yuehaibing@huawei.com>
On Wed, 2024-07-31 at 14:36 +0800, Yue Haibing wrote:
> Commit f4f943c958a2 ("RDS: IB: ack more receive completions to
> improve performance")
> removed rds_ib_recv_tasklet_fn() implementation but not the
> declaration.
> And commit ec16227e1414 ("RDS/IB: Infiniband transport") declared but
> never implemented
> other functions.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> Reviewed-by: Simon Horman <horms@kernel.org>
Hello Yue,
Thanks for finding these. The declarations do appear unused, so I
think it is fine to remove them. Thanks for the clean up.
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
> ---
> net/rds/ib.h | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/net/rds/ib.h b/net/rds/ib.h
> index 2ba71102b1f1..8ef3178ed4d6 100644
> --- a/net/rds/ib.h
> +++ b/net/rds/ib.h
> @@ -369,9 +369,6 @@ int rds_ib_conn_alloc(struct rds_connection
> *conn, gfp_t gfp);
> void rds_ib_conn_free(void *arg);
> int rds_ib_conn_path_connect(struct rds_conn_path *cp);
> void rds_ib_conn_path_shutdown(struct rds_conn_path *cp);
> -void rds_ib_state_change(struct sock *sk);
> -int rds_ib_listen_init(void);
> -void rds_ib_listen_stop(void);
> __printf(2, 3)
> void __rds_ib_conn_error(struct rds_connection *conn, const char *,
> ...);
> int rds_ib_cm_handle_connect(struct rdma_cm_id *cm_id,
> @@ -402,7 +399,6 @@ void rds_ib_inc_free(struct rds_incoming *inc);
> int rds_ib_inc_copy_to_user(struct rds_incoming *inc, struct
> iov_iter *to);
> void rds_ib_recv_cqe_handler(struct rds_ib_connection *ic, struct
> ib_wc *wc,
> struct rds_ib_ack_state *state);
> -void rds_ib_recv_tasklet_fn(unsigned long data);
> void rds_ib_recv_init_ring(struct rds_ib_connection *ic);
> void rds_ib_recv_clear_ring(struct rds_ib_connection *ic);
> void rds_ib_recv_init_ack(struct rds_ib_connection *ic);
next prev parent reply other threads:[~2024-07-31 18:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-31 6:36 Yue Haibing
2024-07-31 10:12 ` Yue Haibing
2024-07-31 18:31 ` Allison Henderson [this message]
2024-08-01 16:10 ` patchwork-bot+netdevbpf
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=40988b083db40968700c79a752590fe78b640a02.camel@oracle.com \
--to=allison.henderson@oracle.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rds-devel@oss.oracle.com \
--cc=yuehaibing@huawei.com \
/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®