Commit ab3999a2 authored by Alexander Shishkin's avatar Alexander Shishkin Committed by Greg Kroah-Hartman

usb: chipidea: drop unused field "device" from ci13xxx_ep

It was used as a shorthand for gadget's device in request mapping/unmapping
code, but now it's not used any more.
Signed-off-by: default avatarAlexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5e0aa49e
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
* @wedge: is the endpoint wedged * @wedge: is the endpoint wedged
* @udc: pointer to the controller * @udc: pointer to the controller
* @lock: pointer to controller's spinlock * @lock: pointer to controller's spinlock
* @device: pointer to gadget's struct device
* @td_pool: pointer to controller's TD pool * @td_pool: pointer to controller's TD pool
*/ */
struct ci13xxx_ep { struct ci13xxx_ep {
...@@ -57,7 +56,6 @@ struct ci13xxx_ep { ...@@ -57,7 +56,6 @@ struct ci13xxx_ep {
/* global resources */ /* global resources */
struct ci13xxx *udc; struct ci13xxx *udc;
spinlock_t *lock; spinlock_t *lock;
struct device *device;
struct dma_pool *td_pool; struct dma_pool *td_pool;
}; };
......
...@@ -1450,7 +1450,6 @@ static int init_eps(struct ci13xxx *udc) ...@@ -1450,7 +1450,6 @@ static int init_eps(struct ci13xxx *udc)
mEp->udc = udc; mEp->udc = udc;
mEp->lock = &udc->lock; mEp->lock = &udc->lock;
mEp->device = &udc->gadget.dev;
mEp->td_pool = udc->td_pool; mEp->td_pool = udc->td_pool;
mEp->ep.name = mEp->name; mEp->ep.name = mEp->name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment