commit | c23b48e0ed4764af410cacc09d49fe300743e55b | [log] [tgz] |
---|---|---|
author | Daeseok Youn <daeseok.youn@gmail.com> | Wed Jul 06 15:13:55 2016 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 15 19:06:09 2016 +0200 |
tree | e95cb5350fd1af5b36e8e436767c45b6e0d0f70e | |
parent | 18419f77a22ae8d3b9330c83f6d09e0e66d2d755 [diff] |
staging: dgnc: removes redundant null check and change The dgnc_set_modem_info() used only channel_t variable. Any other variables were used only for checking NULL. So fist parameter changed from "tty_struct" to "channel_t" and useless NULL checks and variables are removed. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>