Skip to content
Commit 1521eb6b authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

greybus: es2: No need to check before freeing an urb



usb_kill_urb() and usb_free_urb() can be called with NULL pointers, so
no need to check before calling them.

Reviewed-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent fc994f0f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment