staging: dgap: removes redundant null check and change paramter for dgap_tty_digisetc...
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 11 Jul 2014 10:24:34 +0000 (19:24 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 00:36:19 +0000 (17:36 -0700)
commitdb6fc2df9c353c9865b4c27c982efeb8fc37a523
tree391bbc2288ab4f6019a86bd910be54756ea28281
parent501bcd4f9bf93d29881fddafcab1982836c41404
staging: dgap: removes redundant null check and change paramter for dgap_tty_digisetcustombaud()

Null checks in dgap_tty_digisetcustombaud() 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