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:
Amitoj Kaur Chawla
2015-10-16 22:56:23 -07:00
committed by Greg Kroah-Hartman
parent 7ea8778ef3
commit b5186a9fd2
+1 -1
View File
@@ -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)