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)
commitbdf4d4f23b17a0f0fe687ac709bbeb6536bd27c0
tree7f0932266b471612a7648dfc8494ea6b8735699a
parent07ff1c27e8ee6907008f0bcdb56c9f5487cfeca8
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