]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d75ccdc4bf56e19e36dc3a0d7f73cfa81cf11aa
tree6330fc33cd98a7c536aa41805ab00b844978c035
parent1fd5f1a12c251818c9195e2bdac4e1f3ced1e0b6
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