Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfa40d3e authored by Amitoj Kaur Chawla's avatar Amitoj Kaur Chawla Committed by Takashi Iwai
Browse files

sound: oss: Remove useless initialisation



Remove useless initialisation of variable whose value is reinitialised
later.

The Coccinelle semantic patch used to make this change is as follows:
@@
type T;
identifier x;
constant C;
expression e;
@@

T x
- = C
 ;
x = e;

Signed-off-by: default avatarAmitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a5d48be4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -254,7 +254,7 @@ static void ad_write(ad1848_info * devc, int reg, int data)

static void wait_for_calibration(ad1848_info * devc)
{
	int timeout = 0;
	int timeout;

	/*
	 * Wait until the auto calibration process has finished.