]> git.baikalelectronics.ru Git - kernel.git/commit
staging: dgap: removes redundant null check and change paramter for dgap_maxcps_room()
authorDaeseok Youn <daeseok.youn@gmail.com>
Thu, 10 Jul 2014 03:26:04 +0000 (12:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 04:16:52 +0000 (21:16 -0700)
commite9295e9fd050c529c2335de5a9e21d8f8f0c46e0
tree7f0932266b471612a7648dfc8494ea6b8735699a
parent4dda2eee193196903383d5f8f6995f97e1f43e41
staging: dgap: removes redundant null check and change paramter for dgap_maxcps_room()

Null checks for tty, un and ch are already done by caller,
so replace parameter "tty" with "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