mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 00:47:56 -04:00
staging: speakup: speakup_audptr: Remove useless intialisation
Remove intialisation of a variable that is immediately reassigned. The semantic patch used to find this is: // <smpl> @@ type T; identifier x; constant C; expression e; @@ T x - = C ; x = e; // </smpl> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7ea8778ef3
commit
b5186a9fd2
@@ -162,7 +162,7 @@ static void synth_version(struct spk_synth *synth)
|
||||
|
||||
static int synth_probe(struct spk_synth *synth)
|
||||
{
|
||||
int failed = 0;
|
||||
int failed;
|
||||
|
||||
failed = spk_serial_synth_probe(synth);
|
||||
if (failed == 0)
|
||||
|
||||
Reference in New Issue
Block a user