commit | 3fff3b4343f45963c087976c772348f3051a40ee | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Mon May 26 19:23:34 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 27 15:04:08 2014 -0700 |
tree | 59b907832b41469c9c090989b1c18f3c05e9007f | |
parent | c14829fad88dbeda57253590695b85ba51270621 [diff] |
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>