cxgb4i : Fix -Wunused-function warning
authorAnish Bhatt <anish@chelsio.com>
Wed, 15 Oct 2014 03:07:23 +0000 (20:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Oct 2014 04:28:59 +0000 (00:28 -0400)
commitf42bb57c61fd21fb7e30a2b99dbeb1671666bc47
tree6330fc33cd98a7c536aa41805ab00b844978c035
parent1bb60376cda108306818365b186450f154ede5f2
cxgb4i : Fix -Wunused-function warning

A bunch of ipv6 related code is left on by default. While this causes no
compilation issues, there is no need to have this enabled by default. Guard
with an ipv6 check, which also takes care of a -Wunused-function warning.

Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
drivers/scsi/cxgbi/libcxgbi.c