diff options
author | Johan Hovold <jhovold@gmail.com> | 2014-05-26 21:23:34 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-28 02:04:08 +0400 |
commit | 3fff3b4343f45963c087976c772348f3051a40ee (patch) | |
tree | 59b907832b41469c9c090989b1c18f3c05e9007f /crypto/crypto_null.c | |
parent | c14829fad88dbeda57253590695b85ba51270621 (diff) | |
download | linux-3fff3b4343f45963c087976c772348f3051a40ee.tar.xz |
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 'crypto/crypto_null.c')
0 files changed, 0 insertions, 0 deletions