diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-10-31 00:46:50 -0700 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 11:45:01 +0200 |
commit | ee8a0bf5a775098b1140195b6bfacb4813166e5f (patch) | |
tree | 18853a11061f13f4aeabbbaeb5ad88470fae5307 /net/packet | |
parent | 1ab6f257e12a89f62f58fcef9f7b85badce412bc (diff) |
usb: gadget: renesas_usbhs: cleanup complicated ureq alloc/free
DCP data/status stage needs ureq to usbhs_pkt_push(),
but sometimes, there is no data stage.
In that case, allocated ureq was not freed,
Current ureq alloc/free pair were difficult to understand.
This patch removed unnecessary/un-understandable ureq alloc
from usbhsh_urb_enqueue(), and create simpler alloc/free pair.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions