Skip to content

Commit

Permalink
cxgb4i : Fix -Wmaybe-uninitialized warning.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Fixes : f42bb57 ('cxgb4i : Fix -Wunused-function warning')
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
anish authored and davem330 committed Oct 15, 2014
1 parent 04ffcb2 commit 001586a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *,
Expand Down

0 comments on commit 001586a

Please sign in to comment.