]> 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)
commite94829b7877cc9a62ce302a648a73c444381a36f
treec014085c067027d2ec54e84e8f032f7e0fbf452d
parent241beb5262c6b21bf28e9fce747a8cc0add48e01
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 : 9d75ccdc4bf5 ('cxgb4i : Fix -Wunused-function warning')
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c