aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorHuajun Li <huajun.li.lee@gmail.com>2012-03-12 21:00:19 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-13 14:24:07 -0700
commit8816230e13d0c3c6ba51916d20e6d204646abf03 (patch)
tree3b9c29e8e07490fa6914fbe75c7dcfe95b84c14c /mm/page_alloc.c
parentMerge tag 'for-usb-next-2012-03-13' of git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci into usb-next (diff)
downloadlinux-dev-8816230e13d0c3c6ba51916d20e6d204646abf03.tar.xz
linux-dev-8816230e13d0c3c6ba51916d20e6d204646abf03.zip
USB: dynamically allocate usb_device children pointers instead of using a fix array
Non-hub device has no child, and even a real USB hub has ports far less than USB_MAXCHILDREN, so there is no need using a fix array for child devices, just allocate it dynamically according real port number. Signed-off-by: Huajun Li <huajun.li.lee@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions