diff options
author | Domagoj Trsan <domagoj.trsan@gmail.com> | 2014-09-09 20:04:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-11 14:54:50 -0700 |
commit | 11a18fc3d1bb5a437755fd3e90568e64f6e7583e (patch) | |
tree | fbcfdfba8918fc9a136a315196b0cdf89b52a804 /drivers/staging/speakup | |
parent | e7027b9b2567cd3050d266bc56a2296840dd7f68 (diff) |
staging: speakup: fix redundant return in void functions
Signed-off-by: Domagoj Trsan <domagoj.trsan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r-- | drivers/staging/speakup/buffers.c | 1 | ||||
-rw-r--r-- | drivers/staging/speakup/main.c | 1 | ||||
-rw-r--r-- | drivers/staging/speakup/varhandlers.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/speakup/buffers.c b/drivers/staging/speakup/buffers.c index 382973e8b80f..d45c8afb041d 100644 --- a/drivers/staging/speakup/buffers.c +++ b/drivers/staging/speakup/buffers.c @@ -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); diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c index 592e9955f6d1..d367bd08cb96 100644 --- a/drivers/staging/speakup/main.c +++ b/drivers/staging/speakup/main.c @@ -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) diff --git a/drivers/staging/speakup/varhandlers.c b/drivers/staging/speakup/varhandlers.c index 445a3fda380e..a65782c15ccc 100644 --- a/drivers/staging/speakup/varhandlers.c +++ b/drivers/staging/speakup/varhandlers.c @@ -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) |