]> 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)
commit335b1960f1835a0329cae41eaf6da5312ab83233
tree6330fc33cd98a7c536aa41805ab00b844978c035
parentedeff1abb8028835054c7454a4035ad30956c9b7
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