mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00: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:
parent
7ea8778ef3
commit
b5186a9fd2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue