[patch] staging: speakup: remove unused code
okash.khawaja at gmail.com
Thu Jun 1 09:15:29 EDT 2017
In spk_ttyio_release we read tty's index but never do anything with it.
The patch removes this dead code.
Signed-off-by: Okash Khawaja <okash.khawaja at gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault at ens-lyon.org>
drivers/staging/speakup/spk_ttyio.c | 3 ---
1 file changed, 3 deletions(-)
@@ -247,13 +247,10 @@ EXPORT_SYMBOL_GPL(spk_ttyio_synth_probe)
- int idx;
- idx = speakup_tty->index;
More information about the Speakup