usb: ci_udc: remove controller.items array
authorStephen Warren <swarren@nvidia.com>
Tue, 1 Jul 2014 17:41:17 +0000 (11:41 -0600)
committerMarek Vasut <marex@denx.de>
Wed, 2 Jul 2014 13:45:38 +0000 (15:45 +0200)
commit6ac15fda4e2b9ad45b7769037964110f7f597b5c
tree4abffef41e7756864141c23a39a3b15209a6d9c2
parent7e5418877550d8d7a9a2c5d73f93fc95ecd595a9
usb: ci_udc: remove controller.items array

There's no need to store an array of QTD pointers in the controller.
Since the calculation is so simple, just have ci_get_qtd() perform it
at run-time, rather than pre-calculating everything.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/usb/gadget/ci_udc.c
drivers/usb/gadget/ci_udc.h