aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxgbi/libcxgbi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/cxgbi/libcxgbi.c')
-rw-r--r--drivers/scsi/cxgbi/libcxgbi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/cxgbi/libcxgbi.c b/drivers/scsi/cxgbi/libcxgbi.c
index 6a2001d6b442..54fa6e0bc1bb 100644
--- a/drivers/scsi/cxgbi/libcxgbi.c
+++ b/drivers/scsi/cxgbi/libcxgbi.c
@@ -275,6 +275,7 @@ struct cxgbi_device *cxgbi_device_find_by_netdev_rcu(struct net_device *ndev,
275} 275}
276EXPORT_SYMBOL_GPL(cxgbi_device_find_by_netdev_rcu); 276EXPORT_SYMBOL_GPL(cxgbi_device_find_by_netdev_rcu);
277 277
278#if IS_ENABLED(CONFIG_IPV6)
278static struct cxgbi_device *cxgbi_device_find_by_mac(struct net_device *ndev, 279static struct cxgbi_device *cxgbi_device_find_by_mac(struct net_device *ndev,
279 int *port) 280 int *port)
280{ 281{
@@ -307,6 +308,7 @@ static struct cxgbi_device *cxgbi_device_find_by_mac(struct net_device *ndev,
307 ndev, ndev->name); 308 ndev, ndev->name);
308 return NULL; 309 return NULL;
309} 310}
311#endif
310 312
311void cxgbi_hbas_remove(struct cxgbi_device *cdev) 313void cxgbi_hbas_remove(struct cxgbi_device *cdev)
312{ 314{