diff options
author | Mian Yousaf Kaukab <yousaf.kaukab@intel.com> | 2015-01-09 07:38:54 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-12 16:33:39 -0500 |
commit | ea5a8774a273c62047abb3cb5cca69c8368d05da (patch) | |
tree | 5ad9e2f86a592486f31387b5df9732edae9146c0 /drivers/usb/dwc2 | |
parent | bb8693a98ebbe863401108d1cc4f8c0bc72e1900 (diff) |
usb: dwc2: gadget: remove unused members from hsotg_req
These members are only occupying space.
Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2')
-rw-r--r-- | drivers/usb/dwc2/core.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h index df6a64f463e8..db5348c21382 100644 --- a/drivers/usb/dwc2/core.h +++ b/drivers/usb/dwc2/core.h | |||
@@ -158,14 +158,10 @@ struct s3c_hsotg_ep { | |||
158 | * struct s3c_hsotg_req - data transfer request | 158 | * struct s3c_hsotg_req - data transfer request |
159 | * @req: The USB gadget request | 159 | * @req: The USB gadget request |
160 | * @queue: The list of requests for the endpoint this is queued for. | 160 | * @queue: The list of requests for the endpoint this is queued for. |
161 | * @in_progress: Has already had size/packets written to core | ||
162 | * @mapped: DMA buffer for this request has been mapped via dma_map_single(). | ||
163 | */ | 161 | */ |
164 | struct s3c_hsotg_req { | 162 | struct s3c_hsotg_req { |
165 | struct usb_request req; | 163 | struct usb_request req; |
166 | struct list_head queue; | 164 | struct list_head queue; |
167 | unsigned char in_progress; | ||
168 | unsigned char mapped; | ||
169 | }; | 165 | }; |
170 | 166 | ||
171 | #if IS_ENABLED(CONFIG_USB_DWC2_PERIPHERAL) || IS_ENABLED(CONFIG_USB_DWC2_DUAL_ROLE) | 167 | #if IS_ENABLED(CONFIG_USB_DWC2_PERIPHERAL) || IS_ENABLED(CONFIG_USB_DWC2_DUAL_ROLE) |