]> git.baikalelectronics.ru Git - kernel.git/commit
staging: dgap: removes redundant null check and change paramter for dgap_tty_digigetc...
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 11 Jul 2014 10:24:14 +0000 (19:24 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 00:35:45 +0000 (17:35 -0700)
commit94b6422d9ab436e19c1fa967af36cd77287df116
treea75b28394d23cc20ef3e47fbaaf369cfc0aaa1b1
parent3a15abf806e3ac2fbfca1291156b3f439d6fe054
staging: dgap: removes redundant null check and change paramter for dgap_tty_digigetcustombaud()

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