Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67845
b: refs/heads/master
c: c36d54a
h: refs/heads/master
i:
  67843: eb258a5
v: v3
  • Loading branch information
Pete Zaitcev authored and Greg Kroah-Hartman committed Oct 12, 2007
1 parent 6f301b1 commit 12ef8a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 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: cdd5a8fd24f5be43417a25c6feb8e7ebdce63098
refs/heads/master: c36d54ab380fb8edeaa22776af869c64bfda43bd
16 changes: 3 additions & 13 deletions trunk/drivers/usb/mon/mon_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,18 +148,8 @@ static void mon_complete(struct usb_bus *ubus, struct urb *urb)
{
struct mon_bus *mbus;

mbus = ubus->mon_bus;
if (mbus == NULL) {
/*
* This should not happen.
* At this point we do not even know the bus number...
*/
printk(KERN_ERR TAG ": Null mon bus in URB, address %p\n",
urb);
return;
}

mon_bus_complete(mbus, urb);
if ((mbus = ubus->mon_bus) != NULL)
mon_bus_complete(mbus, urb);
mon_bus_complete(&mon_bus0, urb);
}

Expand All @@ -170,7 +160,7 @@ static void mon_complete(struct usb_bus *ubus, struct urb *urb)
*/
static void mon_stop(struct mon_bus *mbus)
{
struct usb_bus *ubus = mbus->u_bus;
struct usb_bus *ubus;
struct list_head *p;

if (mbus == &mon_bus0) {
Expand Down

0 comments on commit 12ef8a7

Please sign in to comment.