diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-03-30 09:26:24 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-04-14 09:24:39 +0300 |
commit | 660e9bde74d6915227d7ee3485b11e5f52637b26 (patch) | |
tree | cbd9dbe07be0c7511111045af74389093460434b /drivers/usb/dwc3/core.h | |
parent | acd877f4ec69639c825725091eb3749d36fd11b3 (diff) | |
download | talos-obmc-linux-660e9bde74d6915227d7ee3485b11e5f52637b26.tar.gz talos-obmc-linux-660e9bde74d6915227d7ee3485b11e5f52637b26.zip |
usb: dwc3: remove num_event_buffers
We never, ever route any of the other event buffers
so we might as well drop support for them.
Until someone has a real, proper benefit for
multiple event buffers, we will rely on a single
one. This also helps reduce memory footprint of
dwc3.ko which won't allocate memory for the extra
event buffers.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r-- | drivers/usb/dwc3/core.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 4ea4b51688c1..be03999e2dfd 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -667,7 +667,6 @@ struct dwc3_scratchpad_array { * @regs: base address for our registers * @regs_size: address space size * @nr_scratch: number of scratch buffers - * @num_event_buffers: calculated number of event buffers * @u1u2: only used on revisions <1.83a for workaround * @maximum_speed: maximum speed requested (mainly for testing purposes) * @revision: revision register contents @@ -778,7 +777,6 @@ struct dwc3 { u32 gctl; u32 nr_scratch; - u32 num_event_buffers; u32 u1u2; u32 maximum_speed; |