staging: dgap: removes redundant null check and change paramter for dgap_set_modem_info()
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 11 Jul 2014 10:23:34 +0000 (19:23 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 00:35:45 +0000 (17:35 -0700)
commit4285c97476fee11018caa9c0d6577252a22a4507
tree7051f2929598ebb21ac5937c826168fa9ba33008
parent29a171c18fa8c136e535db62a888205f7fb9699c
staging: dgap: removes redundant null check and change paramter for dgap_set_modem_info()

Null checks in dgap_set_modem_info() are already done by
dgap_tty_ioctl() and change "tty" as a paramter of this function
to "ch", "bd" and "un".

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c