staging: dgnc: Remove some redundant functions
authorPankaj Bharadiya <pankaj.bharadiya@gmail.com>
Mon, 17 Oct 2016 10:47:07 +0000 (16:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Oct 2016 07:40:37 +0000 (09:40 +0200)
commit02782a1963c97ae04e644592fbad3c3f2b365728
treedde7027cb21b2157e2d399efdbf5004c5c709ba3
parent49b9137a6002a06f7e44e59ece9b34fd1e4fca4c
staging: dgnc: Remove some redundant functions

dgnc_tty_preinit() and dgnc_tty_post_uninit() functions are used to
allocate and free "dgnc_TmpWriteBuf" and this "dgnc_TmpWriteBuf" is
not really getting used. Hence remove these redundant functions.

Also remove dgnc_TmpWriteBuf variable as it is not used anymore.

Signed-off-by: Pankaj Bharadiya <pankaj.bharadiya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_driver.c
drivers/staging/dgnc/dgnc_tty.c
drivers/staging/dgnc/dgnc_tty.h