Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61953
b: refs/heads/master
c: 13f9782
h: refs/heads/master
i:
  61951: b28b183
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jul 20, 2007
1 parent a667e96 commit 4829042
Show file tree
Hide file tree
Showing 2 changed files with 6 additions 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: 24497a00114ef42a752d614635168db9e2192f5e
refs/heads/master: 13f9782d8e2e6a20e5fc44dd758d5747fdfd76ab
9 changes: 5 additions & 4 deletions trunk/drivers/usb/misc/appledisplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,10 @@ static void appledisplay_complete(struct urb *urb)
{
struct appledisplay *pdata = urb->context;
unsigned long flags;
int status = urb->status;
int retval;

switch (urb->status) {
switch (status) {
case 0:
/* success */
break;
Expand All @@ -102,12 +103,12 @@ static void appledisplay_complete(struct urb *urb)
case -ENOENT:
case -ESHUTDOWN:
/* This urb is terminated, clean up */
dbg("%s - urb shutting down with status: %d",
__FUNCTION__, urb->status);
dbg("%s - urb shuttingdown with status: %d",
__FUNCTION__, status);
return;
default:
dbg("%s - nonzero urb status received: %d",
__FUNCTION__, urb->status);
__FUNCTION__, status);
goto exit;
}

Expand Down

0 comments on commit 4829042

Please sign in to comment.