diff options
author | Julia Lawall <julia@diku.dk> | 2011-05-13 04:15:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-13 16:10:00 -0400 |
commit | 5310cbce900094dce5df4a671b411e15319a75d4 (patch) | |
tree | d068d8c1eeb56a629f68cac0aa14d901d64560b8 /drivers/isdn/hisax/st5481.h | |
parent | c319b4d76b9e583a5d88d6bf190e079c4e43213d (diff) | |
download | lwn-5310cbce900094dce5df4a671b411e15319a75d4.tar.gz lwn-5310cbce900094dce5df4a671b411e15319a75d4.zip |
drivers/isdn/hisax: Drop unused list
The file st5481_init.c locally defines and initializes the adapter_list
variable, but does not use it for anything. Removing the list makes it
possible to remove the list field from the st5481_adapter data structure.
In the function probe_st5481, it also makes it possible to free the locally
allocated adapter value on an error exit.
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hisax/st5481.h')
-rw-r--r-- | drivers/isdn/hisax/st5481.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/st5481.h b/drivers/isdn/hisax/st5481.h index 64f78a8c28c5..b9054cb7a0da 100644 --- a/drivers/isdn/hisax/st5481.h +++ b/drivers/isdn/hisax/st5481.h @@ -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; |