diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2016-07-12 08:54:35 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-07-12 08:06:10 +0200 |
commit | dfa40d3e3686591f7c30990c67f11b5d30f4527f (patch) | |
tree | c94e6befbb0fa3321d3f5092e9d48b5911e7703b | |
parent | a5d48be457273e4faf34a2033c63f8890f3f9c6c (diff) | |
download | op-kernel-dev-dfa40d3e3686591f7c30990c67f11b5d30f4527f.zip op-kernel-dev-dfa40d3e3686591f7c30990c67f11b5d30f4527f.tar.gz |
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: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/oss/ad1848.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/ad1848.c b/sound/oss/ad1848.c index 10c8de1..6368e5c 100644 --- a/sound/oss/ad1848.c +++ b/sound/oss/ad1848.c @@ -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. |