[SCSI] libfc: rename rport state "NONE" to "DELETE".
authorJoe Eykholt <jeykholt@cisco.com>
Thu, 30 Jul 2009 00:04:43 +0000 (17:04 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 22 Aug 2009 22:52:06 +0000 (17:52 -0500)
commit141940548c6919c22bf0573c68fd59d961e22475
tree64ef27e9f0e11df5e64bd5616ed194a02b0eea5c
parent84b05445b9f0b1ac2192f32260c916426d902d79
[SCSI] libfc: rename rport state "NONE" to "DELETE".

State RPORT_ST_NONE was intented to be an invalid state (0), never used.
This was a misguided attempt to be sure it was always initialized.
Having an extra state meaning nothing requires switch statements to
have a case covering that state.

State NONE has been used instead to mean the remote port is being deleted.
Changing the name to RPORT_ST_DELETE.

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@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_rport.c
include/scsi/libfc.h