diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2016-07-12 06:24:35 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-07-12 09:06:10 +0300 |
commit | dfa40d3e3686591f7c30990c67f11b5d30f4527f (patch) | |
tree | c94e6befbb0fa3321d3f5092e9d48b5911e7703b /sound/oss | |
parent | a5d48be457273e4faf34a2033c63f8890f3f9c6c (diff) | |
download | linux-dfa40d3e3686591f7c30990c67f11b5d30f4527f.tar.xz |
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>
Diffstat (limited to 'sound/oss')
-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 10c8de1f8d29..6368e5c7d0ba 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. |