aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe/fcoe_sw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/fcoe/fcoe_sw.c')
-rw-r--r--drivers/scsi/fcoe/fcoe_sw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fcoe/fcoe_sw.c b/drivers/scsi/fcoe/fcoe_sw.c
index 007d1fbae808..f667dce1bbba 100644
--- a/drivers/scsi/fcoe/fcoe_sw.c
+++ b/drivers/scsi/fcoe/fcoe_sw.c
@@ -297,7 +297,7 @@ static int fcoe_sw_destroy(struct net_device *netdev)
297 if (!lp) 297 if (!lp)
298 return -ENODEV; 298 return -ENODEV;
299 299
300 fc = fcoe_softc(lp); 300 fc = lport_priv(lp);
301 301
302 /* Logout of the fabric */ 302 /* Logout of the fabric */
303 fc_fabric_logoff(lp); 303 fc_fabric_logoff(lp);