Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: gadget: omap_udc: kfree(NULL) is safe
we don't need to check for _req because kfree(NULL) is safe. Also, if someone actually passes a NULL pointer to be freed by usb_ep_free_request(), he deserves any issue he faces. Signed-off-by: Felipe Balbi <balbi@ti.com>
- Loading branch information