]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit589ff5a297f5bec24fe1dd2d9f9f5f880f03b86e
treed068d8c1eeb56a629f68cac0aa14d901d64560b8
parentcfce3383c7be5e8fd57ac4ac27e37d66e39a57f6
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