Commit 3b8f8b95 authored by Wei Yongjun's avatar Wei Yongjun Committed by Jason Gunthorpe

iw_cxgb4: Make function read_tcb() static

Fixes the following sparse warning:

drivers/infiniband/hw/cxgb4/cm.c:658:6: warning:
 symbol 'read_tcb' was not declared. Should it be static?

Fixes: 11a27e21 ("iw_cxgb4: complete the cached SRQ buffers")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Acked-by: default avatarRaju Rangoju <rajur@chelsio.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 6ac16e40
...@@ -655,7 +655,7 @@ static int send_halfclose(struct c4iw_ep *ep) ...@@ -655,7 +655,7 @@ static int send_halfclose(struct c4iw_ep *ep)
return c4iw_l2t_send(&ep->com.dev->rdev, skb, ep->l2t); return c4iw_l2t_send(&ep->com.dev->rdev, skb, ep->l2t);
} }
void read_tcb(struct c4iw_ep *ep) static void read_tcb(struct c4iw_ep *ep)
{ {
struct sk_buff *skb; struct sk_buff *skb;
struct cpl_get_tcb *req; struct cpl_get_tcb *req;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment