summaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2014-05-26 19:23:34 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-27 15:04:08 -0700
commit3fff3b4343f45963c087976c772348f3051a40ee (patch)
tree59b907832b41469c9c090989b1c18f3c05e9007f /drivers/usb/class/cdc-acm.c
parentc14829fad88dbeda57253590695b85ba51270621 (diff)
downloadlinux-stable-3fff3b4343f45963c087976c772348f3051a40ee.tar.gz
linux-stable-3fff3b4343f45963c087976c772348f3051a40ee.tar.bz2
linux-stable-3fff3b4343f45963c087976c772348f3051a40ee.zip
USB: serial: remove overly defensive port tests
The only way a port pointer may be NULL is if probe() failed, and in that case neither disconnect(), resume(), or reset_resume() will be called. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions