commit | 53bcf61dfeb16186d2ce03d4e07be6e843883cd1 | [log] [tgz] |
---|---|---|
author | Felipe F. Tonello <eu@felipetonello.com> | Tue Nov 10 17:52:05 2015 +0000 |
committer | Todd Kjos <tkjos@google.com> | Thu Jul 05 17:58:40 2018 -0700 |
tree | f7b5d87cf75cef0ebb887e8deff33c05c62826d4 | |
parent | 3b2211a76f2a984d12997d84f46983473a0da1b7 [diff] |
usb: gadget: define free_ep_req as universal function commit 079fe5a6da616891cca1a26e803e1df2a87e9ae5 upstream. This function is shared between gadget functions, so this avoid unnecessary duplicated code and potentially avoid memory leaks. Reviewed-by: Robert Baldyga <r.baldyga@samsung.com> Signed-off-by: Felipe F. Tonello <eu@felipetonello.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>