Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22082
b: refs/heads/master
c: 11a223a
h: refs/heads/master
v: v3
  • Loading branch information
Pete Zaitcev authored and Greg Kroah-Hartman committed Mar 20, 2006
1 parent 850dd9c commit 64b3cef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 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: 952ba222962bf3fb1336f139f1049030153cae55
refs/heads/master: 11a223ae3b86b94391774512e5671600367a305c
13 changes: 1 addition & 12 deletions trunk/drivers/block/ub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2270,19 +2270,8 @@ static int ub_probe(struct usb_interface *intf,

nluns = 1;
for (i = 0; i < 3; i++) {
if ((rc = ub_sync_getmaxlun(sc)) < 0) {
/*
* This segment is taken from usb-storage. They say
* that ZIP-100 needs this, but my own ZIP-100 works
* fine without this.
* Still, it does not seem to hurt anything.
*/
if (rc == -EPIPE) {
ub_probe_clear_stall(sc, sc->recv_bulk_pipe);
ub_probe_clear_stall(sc, sc->send_bulk_pipe);
}
if ((rc = ub_sync_getmaxlun(sc)) < 0)
break;
}
if (rc != 0) {
nluns = rc;
break;
Expand Down

0 comments on commit 64b3cef

Please sign in to comment.