summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorChris Leech <christopher.leech@intel.com>2009-08-25 22:59:56 +0200
committerJames Bottomley <James.Bottomley@suse.de>2009-09-10 19:07:34 +0200
commitcb0a6ca81439a9f113d3b46de0953da168a06f6a (patch)
tree010d64aa995198e6cabec0968bdcdab341b32a94 /drivers/scsi
parent[SCSI] fcoe: move offload exchange manager pointer from fcoe_port to fcoe_int... (diff)
downloadlinux-cb0a6ca81439a9f113d3b46de0953da168a06f6a.tar.xz
linux-cb0a6ca81439a9f113d3b46de0953da168a06f6a.zip
[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')
-rw-r--r--drivers/scsi/fcoe/fcoe.c2
-rw-r--r--drivers/scsi/fcoe/fcoe.h3
2 files changed, 0 insertions, 5 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,
}
lport = shost_priv(shost);
port = lport_priv(lport);
-
port->fcoe = fcoe;
- fcoe->priv = port;
/* configure fc_lport, e.g., em */
rc = fcoe_lport_config(lport);
diff --git a/drivers/scsi/fcoe/fcoe.h b/drivers/scsi/fcoe/fcoe.h
index 26e859574604..673e70e1f8bb 100644
--- a/drivers/scsi/fcoe/fcoe.h
+++ b/drivers/scsi/fcoe/fcoe.h
@@ -79,9 +79,6 @@ struct fcoe_percpu_s {
*/
struct fcoe_interface {
struct list_head list;
- /* This will be removed once all the shared values are
- * moved out of fcoe_port */
- struct fcoe_port *priv;
struct net_device *netdev;
struct packet_type fcoe_packet_type;
struct packet_type fip_packet_type;