From: Kuninori Morimoto Date: Mon, 31 Oct 2011 07:46:50 +0000 (-0700) Subject: usb: gadget: renesas_usbhs: cleanup complicated ureq alloc/free X-Git-Tag: v3.3-rc1~153^2~28^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee8a0bf5a775098b1140195b6bfacb4813166e5f;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed