Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 23673d7d authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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: default avatarFelipe Balbi <balbi@ti.com>
parent 70617db7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment