diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h
index 8a6872aae79f99e98447057aa7c646a4d2f3c5a2..50911f8490d4df74b9b5a00c63928060885c7aa1 100644
--- a/drivers/usb/chipidea/ci.h
+++ b/drivers/usb/chipidea/ci.h
@@ -38,7 +38,6 @@
  * @wedge: is the endpoint wedged
  * @udc: pointer to the controller
  * @lock: pointer to controller's spinlock
- * @device: pointer to gadget's struct device
  * @td_pool: pointer to controller's TD pool
  */
 struct ci13xxx_ep {
@@ -57,7 +56,6 @@ struct ci13xxx_ep {
 	/* global resources */
 	struct ci13xxx				*udc;
 	spinlock_t				*lock;
-	struct device				*device;
 	struct dma_pool				*td_pool;
 };
 
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index 09458d81f300210d26dbbd76a7f656a0ce4857b5..51f96942dc5ef109319429464d267acc43d09600 100644
--- a/drivers/usb/chipidea/udc.c
+++ b/drivers/usb/chipidea/udc.c
@@ -1450,7 +1450,6 @@ static int init_eps(struct ci13xxx *udc)
 
 			mEp->udc          = udc;
 			mEp->lock         = &udc->lock;
-			mEp->device       = &udc->gadget.dev;
 			mEp->td_pool      = udc->td_pool;
 
 			mEp->ep.name      = mEp->name;