[SCSI] qla2xxx: Remove extraneous setting of FCF_ASYNC_SENT during login-done completion.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Wed, 30 Mar 2011 18:46:19 +0000 (11:46 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 14:57:25 +0000 (09:57 -0500)
The bit is already set upon entry.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_init.c

index f98cfac..0f75fab 100644 (file)
@@ -386,7 +386,6 @@ qla2x00_async_login_done(struct scsi_qla_host *vha, fc_port_t *fcport,
        switch (data[0]) {
        case MBS_COMMAND_COMPLETE:
                if (fcport->flags & FCF_FCP2_DEVICE) {
-                       fcport->flags |= FCF_ASYNC_SENT;
                        qla2x00_post_async_adisc_work(vha, fcport, data);
                        break;
                }