提交 001586a7 编写于 作者: A Anish Bhatt 提交者: David S. Miller

cxgb4i : Fix -Wmaybe-uninitialized warning.

Identified by kbuild test robot. csk family is always set to be AF_INET or
AF_INET6, so skb will always be initialized to some value but there is no harm
in silencing the warning anyways.
Signed-off-by: NAnish Bhatt <anish@chelsio.com>
Fixes : f42bb57c ('cxgb4i : Fix -Wunused-function warning')
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 04ffcb25
...@@ -758,7 +758,7 @@ static int act_open_rpl_status_to_errno(int status) ...@@ -758,7 +758,7 @@ static int act_open_rpl_status_to_errno(int status)
static void csk_act_open_retry_timer(unsigned long data) static void csk_act_open_retry_timer(unsigned long data)
{ {
struct sk_buff *skb; struct sk_buff *skb = NULL;
struct cxgbi_sock *csk = (struct cxgbi_sock *)data; struct cxgbi_sock *csk = (struct cxgbi_sock *)data;
struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(csk->cdev); struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(csk->cdev);
void (*send_act_open_func)(struct cxgbi_sock *, struct sk_buff *, void (*send_act_open_func)(struct cxgbi_sock *, struct sk_buff *,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册