From: Alexey Dobriyan <adobriyan@gmail.com>
To: Potnuri Bharat Teja <bharat@chelsio.com>
Cc: linux-rdma@vger.kernel.org, Jason Gunthorpe <jgg@nvidia.com>,
Leon Romanovsky <leonro@nvidia.com>
Subject: [PATCH] cxgb4: delete unused prototype
Date: Tue, 23 Jan 2024 13:32:59 +0300 [thread overview]
Message-ID: <a67881e7-469b-43d9-9973-ad7579eb2c4b@p183> (raw)
c4iw_ep_redirect() doesn't exist (and g++ doesn't like it because "new"
is reserved keyword in C++).
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 --
1 file changed, 2 deletions(-)
--- a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
+++ b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
@@ -930,8 +930,6 @@ void c4iw_id_table_free(struct c4iw_id_table *alloc);
typedef int (*c4iw_handler_func)(struct c4iw_dev *dev, struct sk_buff *skb);
-int c4iw_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new,
- struct l2t_entry *l2t);
void c4iw_put_qpid(struct c4iw_rdev *rdev, u32 qpid,
struct c4iw_dev_ucontext *uctx);
u32 c4iw_get_resource(struct c4iw_id_table *id_table);
next reply other threads:[~2024-01-23 10:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-23 10:32 Alexey Dobriyan [this message]
2024-01-25 10:06 ` [PATCH] cxgb4: delete unused prototype Leon Romanovsky
2024-01-25 10:07 ` Leon Romanovsky
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=a67881e7-469b-43d9-9973-ad7579eb2c4b@p183 \
--to=adobriyan@gmail.com \
--cc=bharat@chelsio.com \
--cc=jgg@nvidia.com \
--cc=leonro@nvidia.com \
--cc=linux-rdma@vger.kernel.org \
/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