[SCSI] libfc: clean up point-to-point discovery code.
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 25 Aug 2009 21:02:49 +0000 (14:02 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:53 +0000 (12:07 -0500)
commit29d898e909e3d086055e2649f5a24d4c2c1ca884
treebfd57b880623777caa37fadfe75d1d8d8011ef93
parent81a67b9717d9e4f81bed7d1f2df6ba86aaab9ad9
[SCSI] libfc: clean up point-to-point discovery code.

The discovery code had a special-case for the point-to-point mode,
which used a bunch of code that wasn't really needed.

Now that rport_create adds the rport to the discovery list,
completely skip discovery for the point-to-point case.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_disc.c
drivers/scsi/libfc/fc_lport.c