]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: serial: iuu_phoenix: drop excessive sanity checks
authorJohan Hovold <johan@kernel.org>
Mon, 3 Apr 2017 09:57:14 +0000 (11:57 +0200)
committerJohan Hovold <johan@kernel.org>
Mon, 10 Apr 2017 07:42:00 +0000 (09:42 +0200)
commit7aac5e7d204f344f5f273deeeb8fd237e4f5b87c
tree8e6db5909972d2525cbc8fcd33151123e38b4f25
parente1fdd5b2620198979b23abb679848a78461481e6
USB: serial: iuu_phoenix: drop excessive sanity checks

The transfer buffers and URBs are allocated and initialised by USB
serial core during probe, and there's no need to check for NULL transfer
buffers in the bulk-in completion handlers.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/iuu_phoenix.c