Re: [PATCH] cxgb4: delete unused prototype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> ---
> 
>  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);
> 




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux