]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1becd71288c4e58eebdd216a838419d41ae4f4fb
tree2fe3616777290672f741bab716c8a392022d21f3
parent7160d5aed9060323ccd885d3b2b7c3bc4a84440d
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