OSDN Git Service

staging: dgap: removes redundant null check and change paramter for dgap_tty_digiseta()
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 11 Jul 2014 10:22:58 +0000 (19:22 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 00:35:45 +0000 (17:35 -0700)
commitffc11c103ac5ba2fa06794be5667fbd183bff056
tree2fe3616777290672f741bab716c8a392022d21f3
parentab6cdcb4261e0d697292a516452904bc6c7e8404
staging: dgap: removes redundant null check and change paramter for dgap_tty_digiseta()

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

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