]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: speakup: fix redundant return in void functions
authorDomagoj Trsan <domagoj.trsan@gmail.com>
Tue, 9 Sep 2014 18:04:32 +0000 (20:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:54:50 +0000 (14:54 -0700)
Signed-off-by: Domagoj Trsan <domagoj.trsan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/buffers.c
drivers/staging/speakup/main.c
drivers/staging/speakup/varhandlers.c

index 382973e8b80f3e6001963a9ac36d52a77a88edb7..d45c8afb041d8f894bd8ed212281d26f850e82fe 100644 (file)
@@ -101,6 +101,5 @@ EXPORT_SYMBOL_GPL(synth_buffer_peek);
 void synth_buffer_clear(void)
 {
        buff_in = buff_out = synth_buffer;
-       return;
 }
 EXPORT_SYMBOL_GPL(synth_buffer_clear);
index 592e9955f6d175a70c7a10ffa067ea097996a643..d367bd08cb96b76983b3efd82fc410c94fe7dcac 100644 (file)
@@ -1940,7 +1940,6 @@ static void speakup_goto(struct vc_data *vc)
        }
        synth_printf("%s\n", spk_msg_get(MSG_GOTO));
        spk_special_handler = handle_goto;
-       return;
 }
 
 static void speakup_help(struct vc_data *vc)
index 445a3fda380e7b456d49599be9703acadf227e3a..a65782c15ccc66d272852e5d682de0c88804e401 100644 (file)
@@ -112,7 +112,6 @@ void speakup_register_var(struct var_t *var)
        default:
                break;
        }
-       return;
 }
 
 void speakup_unregister_var(enum var_id_t var_id)