diff options
-rw-r--r-- | drivers/scsi/libfc/fc_lport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index ef9560dff295..fb6610b249e1 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c | |||
@@ -648,6 +648,7 @@ int fc_lport_destroy(struct fc_lport *lport) | |||
648 | lport->tt.fcp_abort_io(lport); | 648 | lport->tt.fcp_abort_io(lport); |
649 | lport->tt.disc_stop_final(lport); | 649 | lport->tt.disc_stop_final(lport); |
650 | lport->tt.exch_mgr_reset(lport, 0, 0); | 650 | lport->tt.exch_mgr_reset(lport, 0, 0); |
651 | cancel_delayed_work_sync(&lport->retry_work); | ||
651 | fc_fc4_del_lport(lport); | 652 | fc_fc4_del_lport(lport); |
652 | return 0; | 653 | return 0; |
653 | } | 654 | } |
@@ -1564,7 +1565,6 @@ static void fc_lport_timeout(struct work_struct *work) | |||
1564 | 1565 | ||
1565 | switch (lport->state) { | 1566 | switch (lport->state) { |
1566 | case LPORT_ST_DISABLED: | 1567 | case LPORT_ST_DISABLED: |
1567 | WARN_ON(1); | ||
1568 | break; | 1568 | break; |
1569 | case LPORT_ST_READY: | 1569 | case LPORT_ST_READY: |
1570 | break; | 1570 | break; |