2022-09-09 06:21:42

by Gaosheng Cui

[permalink] [raw]
Subject: [PATCH] sound: oss: dmasound: remove software_input_volume declaration

expand_read_bal has been removed since commit fc37449f7959 ("The
next round of scheduled OSS code removal").

software_input_volume has been removed since
commit 0a1b42db4bf9 ("sound: sound/oss/dmasound/: cleanups").

so remove the declare for them from header file.

Signed-off-by: Gaosheng Cui <[email protected]>
---
sound/oss/dmasound/dmasound.h | 3 ---
1 file changed, 3 deletions(-)

diff --git a/sound/oss/dmasound/dmasound.h b/sound/oss/dmasound/dmasound.h
index ad8ce6a1c25c..f065840c0efb 100644
--- a/sound/oss/dmasound/dmasound.h
+++ b/sound/oss/dmasound/dmasound.h
@@ -250,7 +250,4 @@ extern int dmasound_catchRadius;
#define SW_INPUT_VOLUME_SCALE 4
#define SW_INPUT_VOLUME_DEFAULT (128 / SW_INPUT_VOLUME_SCALE)

-extern int expand_read_bal; /* Balance factor for reading */
-extern uint software_input_volume; /* software implemented recording volume! */
-
#endif /* _dmasound_h_ */
--
2.25.1


2022-09-09 07:57:37

by Takashi Iwai

[permalink] [raw]
Subject: Re: [PATCH] sound: oss: dmasound: remove software_input_volume declaration

On Fri, 09 Sep 2022 08:11:26 +0200,
Gaosheng Cui wrote:
>
> expand_read_bal has been removed since commit fc37449f7959 ("The
> next round of scheduled OSS code removal").
>
> software_input_volume has been removed since
> commit 0a1b42db4bf9 ("sound: sound/oss/dmasound/: cleanups").
>
> so remove the declare for them from header file.
>
> Signed-off-by: Gaosheng Cui <[email protected]>

Applied, thanks.


Takashi