staging: dgap: Remove some dead code
authorMark Hounschell <markh@compro.net>
Thu, 6 Mar 2014 18:03:33 +0000 (13:03 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Mar 2014 22:16:39 +0000 (14:16 -0800)
commit6126022800e41338ac866d8334e5cf1325734ecb
treefbb56173629ad712143d091457a09b9fcd84e4a7
parent8fc324e4ae067d582eb55c3c218660e56d83f4b7
staging: dgap: Remove some dead code

This patch removes more dead code and code associated
with that dead code. The from_user variable in the
dgap_tty_write function was never true. The code under
its test was never being executed. So variables and
functions supporting only that code are also dead.

Signed-off-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c