staging: dgnc: remove dead code in dgnc_tty_write()
authorGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Fri, 10 Apr 2015 14:48:54 +0000 (17:48 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 07:24:01 +0000 (09:24 +0200)
commita74d8e21679cdb2b087ff386c34e874af8bac77a
treef38a92edc3452ca2793eb2c7cae7af0e110b8ee4
parentdc44f4e17c475230535f50011ab1f45b696b393b
staging: dgnc: remove dead code in dgnc_tty_write()

Remove the dead code protected by in_user in dgnc_tty_write() because it
is set to 0 and never changed to 1 thus the code in ifs never gets
executed.

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c