Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26813
b: refs/heads/master
c: ec2d720
h: refs/heads/master
i:
  26811: 5ed8ef8
v: v3
  • Loading branch information
Roland Dreier committed May 17, 2006
1 parent f362c92 commit 0108bb5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e65810566f3e613d9baa5512b8724ebde42ace0f
refs/heads/master: ec2d7208494fe599a5ff13b40a0a20c9881f2737
3 changes: 0 additions & 3 deletions trunk/drivers/infiniband/ulp/srp/ib_srp.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ static void srp_remove_work(void *target_ptr)
spin_lock_irq(target->scsi_host->host_lock);
if (target->state != SRP_TARGET_DEAD) {
spin_unlock_irq(target->scsi_host->host_lock);
scsi_host_put(target->scsi_host);
return;
}
target->state = SRP_TARGET_REMOVED;
Expand All @@ -368,8 +367,6 @@ static void srp_remove_work(void *target_ptr)
ib_destroy_cm_id(target->cm_id);
srp_free_target_ib(target);
scsi_host_put(target->scsi_host);
/* And another put to really free the target port... */
scsi_host_put(target->scsi_host);
}

static int srp_connect_target(struct srp_target_port *target)
Expand Down

0 comments on commit 0108bb5

Please sign in to comment.