summaryrefslogtreecommitdiff
path: root/include/linux/vmalloc.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2003-09-17 03:59:57 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2003-09-17 03:59:57 -0700
commit46c4d99be2f36abda46f51b33ecb2e9fb940e927 (patch)
tree3dcba5f09df10399bf6ebeda9d8a81205540f8dd /include/linux/vmalloc.h
parent5446ab92b78853b432dbe47b8e555d3c65a1e61b (diff)
[PATCH] USB: Changes to core/config.c (6 of 9)
This patch removes the home-brewed resizeable arrays used to store altsetting structures, along with the now-unneeded max_altsetting field. Since we are already making a preliminary pass through all the descriptors to check their lengths, we take the opportunity to also count the number of altsetting descriptors for each interface. Then exactly the right number can be allocated all at once. This also moves the code that allocates the altsettings outside the usb_parse_interface() routine. Though not important now, this change will come in handy in the next patch.
Diffstat (limited to 'include/linux/vmalloc.h')
0 files changed, 0 insertions, 0 deletions