Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343682
b: refs/heads/master
c: 55d9389
h: refs/heads/master
v: v3
  • Loading branch information
Vu Pham authored and Roland Dreier committed Dec 1, 2012
1 parent 90db036 commit 58ae167
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: 73aa89ed9e2bebf0c3fff4504e6dff1421b5c819
refs/heads/master: 55d93898a14528a5d4199ba572bea1f0bec5870e
4 changes: 0 additions & 4 deletions trunk/drivers/infiniband/ulp/srp/ib_srp.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,12 +481,9 @@ static void srp_disconnect_target(struct srp_target_port *target)
if (srp_change_conn_state(target, false)) {
/* XXX should send SRP_I_LOGOUT request */

init_completion(&target->done);
if (ib_send_cm_dreq(target->cm_id, NULL, 0)) {
shost_printk(KERN_DEBUG, target->scsi_host,
PFX "Sending CM DREQ failed\n");
} else {
wait_for_completion(&target->done);
}
}
}
Expand Down Expand Up @@ -1664,7 +1661,6 @@ static int srp_cm_handler(struct ib_cm_id *cm_id, struct ib_cm_event *event)
shost_printk(KERN_ERR, target->scsi_host,
PFX "connection closed\n");

comp = 1;
target->status = 0;
break;

Expand Down

0 comments on commit 58ae167

Please sign in to comment.