scsi: fcoe: pass in fcoe_rport structure instead of fc_rport_priv
authorHannes Reinecke <hare@suse.de>
Wed, 24 Jul 2019 09:00:56 +0000 (11:00 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 30 Jul 2019 01:13:27 +0000 (21:13 -0400)
commitd478418703d6bcdd163d5d8127683c6c471539f0
tree9c24632b80e9c599efd33bbba0847ab5a15c75ae
parent023358b136d490ca91735ac6490db3741af5a8bd
scsi: fcoe: pass in fcoe_rport structure instead of fc_rport_priv

Instead of using the generic 'fc_rport_priv' structure as argument and then
having to painstakingly outcast this to fcoe_rport we should be passing the
fcoe_rport structure itself and reduce complexity.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fcoe/fcoe_ctlr.c