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

Null checks in dgap_tty_digigeta() are already done by
dgap_tty_ioctl() and change "tty" as a paramter of this function
to "ch" 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