From 11a18fc3d1bb5a437755fd3e90568e64f6e7583e Mon Sep 17 00:00:00 2001 From: Domagoj Trsan Date: Tue, 9 Sep 2014 20:04:32 +0200 Subject: [PATCH] staging: speakup: fix redundant return in void functions Signed-off-by: Domagoj Trsan Signed-off-by: Greg Kroah-Hartman --- drivers/staging/speakup/buffers.c | 1 - drivers/staging/speakup/main.c | 1 - drivers/staging/speakup/varhandlers.c | 1 - 3 files changed, 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) -- 2.39.5