aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-sbp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-sbp2.c')
-rw-r--r--drivers/firewire/fw-sbp2.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index 71146ba01e63..625518792841 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -693,10 +693,8 @@ static void sbp2_conditionally_block(struct sbp2_logical_unit *lu)
693 if (!tgt->dont_block && !lu->blocked && 693 if (!tgt->dont_block && !lu->blocked &&
694 lu->generation != card->generation) { 694 lu->generation != card->generation) {
695 lu->blocked = true; 695 lu->blocked = true;
696 if (++tgt->blocked == 1) { 696 if (++tgt->blocked == 1)
697 scsi_block_requests(shost); 697 scsi_block_requests(shost);
698 fw_notify("blocked %s\n", lu->tgt->bus_id);
699 }
700 } 698 }
701 spin_unlock_irqrestore(&card->lock, flags); 699 spin_unlock_irqrestore(&card->lock, flags);
702} 700}
@@ -723,10 +721,8 @@ static void sbp2_conditionally_unblock(struct sbp2_logical_unit *lu)
723 } 721 }
724 spin_unlock_irqrestore(&card->lock, flags); 722 spin_unlock_irqrestore(&card->lock, flags);
725 723
726 if (unblock) { 724 if (unblock)
727 scsi_unblock_requests(shost); 725 scsi_unblock_requests(shost);
728 fw_notify("unblocked %s\n", lu->tgt->bus_id);
729 }
730} 726}
731 727
732/* 728/*