Commit cb0a6ca8 authored by Chris Leech's avatar Chris Leech Committed by James Bottomley
Browse files

[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: default avatarChris Leech <christopher.leech@intel.com>
Signed-off-by: default avatarRobert Love <robert.w.love@intel.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 991cbb60
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);
+0 −3
Original line number Diff line number Diff line
@@ -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;