staging: dgnc: remove redundant check
authorGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Fri, 10 Apr 2015 14:48:55 +0000 (17:48 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 07:24:01 +0000 (09:24 +0200)
commiteef94f6b7bff013d4efbc5d8ba1eefcd5a88734d
tree507910320caa6f0c62be9c7dbe8b655c3bb82e93
parenta74d8e21679cdb2b087ff386c34e874af8bac77a
staging: dgnc: remove redundant check

count doesn't get changed in between identical checks in
dgnc_tty_write() so remove the second check

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