summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorNicolas Kaiser <nikai@nikai.net>2007-11-07 18:31:43 +0100
committerJaroslav Kysela <perex@perex.cz>2008-01-31 17:29:20 +0100
commit6bab53377eecc19d3d66bcbf2ec8d2f8d99abc43 (patch)
treed64f47844425847f4babb88fc2ff3b875cbd34d1 /sound/pci
parentb222fe50f28ea14b7fde202d143c534dedf9bca9 (diff)
downloadop-kernel-dev-6bab53377eecc19d3d66bcbf2ec8d2f8d99abc43.zip
op-kernel-dev-6bab53377eecc19d3d66bcbf2ec8d2f8d99abc43.tar.gz
[ALSA] sound/pci: remove line duplications in defines
Remove line duplications in defines. Acked-by: Thomas Sailer <sailer@ife.ee.ethz.ch> Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/ca0106/ca0106.h1
-rw-r--r--sound/pci/maestro3.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/ca0106/ca0106.h b/sound/pci/ca0106/ca0106.h
index 75da174..74175fc 100644
--- a/sound/pci/ca0106/ca0106.h
+++ b/sound/pci/ca0106/ca0106.h
@@ -272,7 +272,6 @@
#define SPCS_WORD_LENGTH_20A 0x0000000a /* Word Length 20 bit */
#define SPCS_WORD_LENGTH_20 0x00000009 /* Word Length 20 bit (both 0xa and 0x9 are 20 bit) */
#define SPCS_WORD_LENGTH_21 0x00000007 /* Word Length 21 bit */
-#define SPCS_WORD_LENGTH_21 0x00000007 /* Word Length 21 bit */
#define SPCS_WORD_LENGTH_22 0x00000005 /* Word Length 22 bit */
#define SPCS_WORD_LENGTH_23 0x00000003 /* Word Length 23 bit */
#define SPCS_WORD_LENGTH_24 0x0000000b /* Word Length 24 bit */
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c
index 3224577..93dfedc 100644
--- a/sound/pci/maestro3.c
+++ b/sound/pci/maestro3.c
@@ -732,7 +732,6 @@ MODULE_PARM_DESC(amp_gpio, "GPIO pin number for external amp. (default = -1)");
#define MINISRC_IN_BUFFER_SIZE ( 0x50 * 2 )
#define MINISRC_OUT_BUFFER_SIZE ( 0x50 * 2 * 2)
-#define MINISRC_OUT_BUFFER_SIZE ( 0x50 * 2 * 2)
#define MINISRC_TMP_BUFFER_SIZE ( 112 + ( MINISRC_BIQUAD_STAGE * 3 + 4 ) * 2 * 2 )
#define MINISRC_BIQUAD_STAGE 2
#define MINISRC_COEF_LOC 0x175
OpenPOWER on IntegriCloud