diff options
author | Joe Eykholt | 2009-07-30 02:04:43 +0200 |
---|---|---|
committer | James Bottomley | 2009-08-23 00:52:06 +0200 |
commit | 141940548c6919c22bf0573c68fd59d961e22475 (patch) | |
tree | 64ef27e9f0e11df5e64bd5616ed194a02b0eea5c /include/scsi/fc_encode.h | |
parent | [SCSI] libfc: fix WARNING from fc_seq_start_next on closed exchanges (diff) | |
download | kernel-qcow2-linux-141940548c6919c22bf0573c68fd59d961e22475.tar.gz kernel-qcow2-linux-141940548c6919c22bf0573c68fd59d961e22475.tar.xz kernel-qcow2-linux-141940548c6919c22bf0573c68fd59d961e22475.zip |
[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>
Diffstat (limited to 'include/scsi/fc_encode.h')
0 files changed, 0 insertions, 0 deletions