diff options
author | Chris Leech <christopher.leech@intel.com> | 2009-08-25 16:59:56 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-10 13:07:34 -0400 |
commit | cb0a6ca81439a9f113d3b46de0953da168a06f6a (patch) | |
tree | 010d64aa995198e6cabec0968bdcdab341b32a94 /drivers/scsi/fcoe/fcoe.c | |
parent | 991cbb6082db3025bd82908eb9ee2d2920be2114 (diff) |
[SCSI] fcoe: remove fcoe_interface->priv pointer
The priv pointer is no longer needed, and once NPIV is enabled
fcoe_interface:fc_lport becomes a one-to-many relationship.
Remove the single pointer.
Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/fcoe/fcoe.c')
-rw-r--r-- | drivers/scsi/fcoe/fcoe.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index bb59a7a04f23..7f14c633da6f 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -640,9 +640,7 @@ static struct fc_lport *fcoe_if_create(struct net_device *netdev, | |||
640 | } | 640 | } |
641 | lport = shost_priv(shost); | 641 | lport = shost_priv(shost); |
642 | port = lport_priv(lport); | 642 | port = lport_priv(lport); |
643 | |||
644 | port->fcoe = fcoe; | 643 | port->fcoe = fcoe; |
645 | fcoe->priv = port; | ||
646 | 644 | ||
647 | /* configure fc_lport, e.g., em */ | 645 | /* configure fc_lport, e.g., em */ |
648 | rc = fcoe_lport_config(lport); | 646 | rc = fcoe_lport_config(lport); |