mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-11 15:14:03 +08:00
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>
This commit is contained in:
parent
e7027b9b25
commit
11a18fc3d1
@ -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);
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user