diff options
author | Anish Bhatt <anish@chelsio.com> | 2014-10-15 11:26:47 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-15 20:13:27 +0400 |
commit | 001586a737ee8c11a1198c352c5635f19fd090ed (patch) | |
tree | c014085c067027d2ec54e84e8f032f7e0fbf452d /drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | |
parent | 04ffcb255f22a2a988ce7393e6e72f6eb3fcb7aa (diff) | |
download | linux-001586a737ee8c11a1198c352c5635f19fd090ed.tar.xz |
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: Anish Bhatt <anish@chelsio.com>
Fixes : f42bb57c61fd ('cxgb4i : Fix -Wunused-function warning')
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/cxgbi/cxgb4i/cxgb4i.c')
-rw-r--r-- | drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c index 8c3003b6d591..3e0a0d315f72 100644 --- a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c +++ b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c @@ -758,7 +758,7 @@ static int act_open_rpl_status_to_errno(int status) 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 cxgb4_lld_info *lldi = cxgbi_cdev_priv(csk->cdev); void (*send_act_open_func)(struct cxgbi_sock *, struct sk_buff *, |