commit | a5b90ef7a1fed3fc0f7a4bf0ad0159eaddb2acfb | [log] [tgz] |
---|---|---|
author | Daeseok Youn <daeseok.youn@gmail.com> | Wed May 04 14:13:48 2016 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon May 09 14:10:03 2016 +0200 |
tree | 09fc2e8490f46bd597dbe0ed90357ea757b6b8f0 | |
parent | 1b30ccded52fb2b297128b190b47641457ecc8f5 [diff] |
staging: dgnc: clean up the dgnc_get_modem_info() the "ch" in dgnc_get_modem_info() was already checked before calling this function and also if "ch" is not NULL, dgnc_get_mstat() returns valid value so it doesn't need to check an error. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>