Message ID | a67881e7-469b-43d9-9973-ad7579eb2c4b@p183 (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | cxgb4: delete unused prototype | expand |
On Tue, Jan 23, 2024 at 01:32:59PM +0300, Alexey Dobriyan wrote: > c4iw_ep_redirect() doesn't exist (and g++ doesn't like it because "new" > is reserved keyword in C++). Applied with fixed commit message, g++ and C++ are not relevant for the kernel code. Thanks > > 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); >
On Tue, 23 Jan 2024 13:32:59 +0300, Alexey Dobriyan wrote: > c4iw_ep_redirect() doesn't exist (and g++ doesn't like it because "new" > is reserved keyword in C++). > > Applied, thanks! [1/1] cxgb4: delete unused prototype https://git.kernel.org/rdma/rdma/c/9bd5653f76772c Best regards,
--- 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);
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(-)