]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4i : Fix -Wmaybe-uninitialized warning.
authorAnish Bhatt <anish@chelsio.com>
Wed, 15 Oct 2014 07:26:47 +0000 (00:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Oct 2014 16:13:27 +0000 (12:13 -0400)
commit0cf4d04e181339b9df40470501f970ef8af7ab57
treec014085c067027d2ec54e84e8f032f7e0fbf452d
parent0e1d1cc384418db9b247e2c22b9c3ba29917cf1c
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 : 335b1960f183 ('cxgb4i : Fix -Wunused-function warning')
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c