diff options
| author | Johan Hovold <[email protected]> | 2019-10-09 17:09:44 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-10-10 10:41:19 +0000 |
| commit | 369dca424a3f9ef80bc4e5a5ccdd41a17ce306c1 (patch) | |
| tree | 845fe2bd67dffde52c350e6fe81c43520cf193a6 /drivers/usb/cdns3/core.c | |
| parent | USB: usb-skeleton: fix use-after-free after driver unbind (diff) | |
| download | kernel-369dca424a3f9ef80bc4e5a5ccdd41a17ce306c1.tar.gz kernel-369dca424a3f9ef80bc4e5a5ccdd41a17ce306c1.zip | |
USB: usb-skeleton: drop redundant in-urb check
The driver bails out at probe if we can't find a bulk-in endpoint or
if we fail to allocate the URB, so drop the check in read().
Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/core.c')
0 files changed, 0 insertions, 0 deletions
