diff options
Diffstat (limited to 'drivers/scsi/libfc/fc_exch.c')
-rw-r--r-- | drivers/scsi/libfc/fc_exch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c index 8b928c67e4b9..587992952b3c 100644 --- a/drivers/scsi/libfc/fc_exch.c +++ b/drivers/scsi/libfc/fc_exch.c | |||
@@ -337,7 +337,7 @@ static void fc_exch_release(struct fc_exch *ep) | |||
337 | * fc_exch_timer_cancel() - cancel exch timer | 337 | * fc_exch_timer_cancel() - cancel exch timer |
338 | * @ep: The exchange whose timer to be canceled | 338 | * @ep: The exchange whose timer to be canceled |
339 | */ | 339 | */ |
340 | static inline void fc_exch_timer_cancel(struct fc_exch *ep) | 340 | static inline void fc_exch_timer_cancel(struct fc_exch *ep) |
341 | { | 341 | { |
342 | if (cancel_delayed_work(&ep->timeout_work)) { | 342 | if (cancel_delayed_work(&ep->timeout_work)) { |
343 | FC_EXCH_DBG(ep, "Exchange timer canceled\n"); | 343 | FC_EXCH_DBG(ep, "Exchange timer canceled\n"); |
@@ -1567,7 +1567,7 @@ static void fc_exch_abts_resp(struct fc_exch *ep, struct fc_frame *fp) | |||
1567 | fc_exch_rctl_name(fh->fh_r_ctl)); | 1567 | fc_exch_rctl_name(fh->fh_r_ctl)); |
1568 | 1568 | ||
1569 | if (cancel_delayed_work_sync(&ep->timeout_work)) { | 1569 | if (cancel_delayed_work_sync(&ep->timeout_work)) { |
1570 | FC_EXCH_DBG(ep, "Exchange timer canceled\n"); | 1570 | FC_EXCH_DBG(ep, "Exchange timer canceled due to ABTS response\n"); |
1571 | fc_exch_release(ep); /* release from pending timer hold */ | 1571 | fc_exch_release(ep); /* release from pending timer hold */ |
1572 | } | 1572 | } |
1573 | 1573 | ||