Skip to content

Commit

Permalink
[SCSI] fcoe: remove fcoe_interface->priv pointer
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Robert Love <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
  • Loading branch information
Chris Leech authored and James Bottomley committed Sep 10, 2009
1 parent 991cbb6 commit cb0a6ca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions drivers/scsi/fcoe/fcoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 0 additions & 3 deletions drivers/scsi/fcoe/fcoe.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cb0a6ca

Please sign in to comment.