Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247446
b: refs/heads/master
c: 5310cbc
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed May 13, 2011
1 parent cf78cd5 commit 4084ca1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 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: c319b4d76b9e583a5d88d6bf190e079c4e43213d
refs/heads/master: 5310cbce900094dce5df4a671b411e15319a75d4
1 change: 0 additions & 1 deletion trunk/drivers/isdn/hisax/st5481.h
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,6 @@ struct st5481_bcs {
};

struct st5481_adapter {
struct list_head list;
int number_of_leds;
struct usb_device *usb_dev;
struct hisax_d_if hisax_d_if;
Expand Down
6 changes: 1 addition & 5 deletions trunk/drivers/isdn/hisax/st5481_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ module_param(debug, int, 0);
#endif
int st5481_debug;

static LIST_HEAD(adapter_list);

/* ======================================================================
* registration/deregistration with the USB layer
*/
Expand Down Expand Up @@ -86,7 +84,6 @@ static int probe_st5481(struct usb_interface *intf,
adapter->bcs[i].b_if.ifc.priv = &adapter->bcs[i];
adapter->bcs[i].b_if.ifc.l2l1 = st5481_b_l2l1;
}
list_add(&adapter->list, &adapter_list);

retval = st5481_setup_usb(adapter);
if (retval < 0)
Expand Down Expand Up @@ -125,6 +122,7 @@ static int probe_st5481(struct usb_interface *intf,
err_usb:
st5481_release_usb(adapter);
err:
kfree(adapter);
return -EIO;
}

Expand All @@ -142,8 +140,6 @@ static void disconnect_st5481(struct usb_interface *intf)
if (!adapter)
return;

list_del(&adapter->list);

st5481_stop(adapter);
st5481_release_b(&adapter->bcs[1]);
st5481_release_b(&adapter->bcs[0]);
Expand Down

0 comments on commit 4084ca1

Please sign in to comment.