diff options
author | Johan Hovold <johan@kernel.org> | 2019-10-09 20:09:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-10 13:41:19 +0300 |
commit | 369dca424a3f9ef80bc4e5a5ccdd41a17ce306c1 (patch) | |
tree | 845fe2bd67dffde52c350e6fe81c43520cf193a6 /drivers/spi/spi-pxa2xx.c | |
parent | 6353001852776e7eeaab4da78922d4c6f2b076af (diff) | |
download | linux-369dca424a3f9ef80bc4e5a5ccdd41a17ce306c1.tar.xz |
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 <johan@kernel.org>
Link: https://lore.kernel.org/r/20191009170944.30057-4-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.c')
0 files changed, 0 insertions, 0 deletions