OSDN Git Service

drivers/isdn/hisax: Drop unused list
authorJulia Lawall <julia@diku.dk>
Fri, 13 May 2011 04:15:39 +0000 (04:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 May 2011 20:10:00 +0000 (16:10 -0400)
commit5310cbce900094dce5df4a671b411e15319a75d4
treed068d8c1eeb56a629f68cac0aa14d901d64560b8
parentc319b4d76b9e583a5d88d6bf190e079c4e43213d
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>
drivers/isdn/hisax/st5481.h
drivers/isdn/hisax/st5481_init.c