diff options
author | Greg Kroah-Hartman <gregkh@google.com> | 2016-08-17 16:44:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-09-02 14:20:56 +0200 |
commit | 1521eb6b6995dd8db57c96d36bc3c64b2a7da3b1 (patch) | |
tree | 6f2a14abddaf698541ca5fc23c6613e04cb306ab /drivers/staging/greybus/interface.c | |
parent | fc994f0f8363eb4c50361800c7d2217eb0306014 (diff) | |
download | op-kernel-dev-1521eb6b6995dd8db57c96d36bc3c64b2a7da3b1.zip op-kernel-dev-1521eb6b6995dd8db57c96d36bc3c64b2a7da3b1.tar.gz |
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: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/interface.c')
0 files changed, 0 insertions, 0 deletions