mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
[SCSI] libfc: eliminate rport LOGO state
The LOGO state hasn't been used in a while, except in a brief transition to DELETE state while holding the rport mutex. All port LOGO responses have been ignored as well as any timeout if we don't get a response. So this patch just removes LOGO state and simplifies the response handler. 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>
This commit is contained in:
parent
1dd454d9e5
commit
079ecd8cfe
2 changed files with 22 additions and 68 deletions
|
|
@ -103,7 +103,6 @@ enum fc_disc_event {
|
|||
* @RPORT_ST_PRLI: Waiting for PRLI completion
|
||||
* @RPORT_ST_RTV: Waiting for RTV completion
|
||||
* @RPORT_ST_READY: Ready for use
|
||||
* @RPORT_ST_LOGO: Remote port logout (LOGO) sent
|
||||
* @RPORT_ST_ADISC: Discover Address sent
|
||||
* @RPORT_ST_DELETE: Remote port being deleted
|
||||
*/
|
||||
|
|
@ -115,7 +114,6 @@ enum fc_rport_state {
|
|||
RPORT_ST_PRLI,
|
||||
RPORT_ST_RTV,
|
||||
RPORT_ST_READY,
|
||||
RPORT_ST_LOGO,
|
||||
RPORT_ST_ADISC,
|
||||
RPORT_ST_DELETE,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue