[alsa-devel] [PATCH -mm] sound/pci/au88x0/au88x0_wt.h remove unused code

Michal Piotrowski michal.k.k.piotrowski at gmail.com
Sun Mar 25 17:51:22 CEST 2007


This patch is against the latest -mm snapshot.

Regards,
Michal

-- 
Michal K. K. Piotrowski
LTG - Linux Testers Group (PL)
(http://www.stardust.webpages.pl/ltg/)
LTG - Linux Testers Group (EN)
(http://www.stardust.webpages.pl/linux_testers_group_en/)

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski at gmail.com>

mjander at users.sourceforge.org

--- linux-work5/sound/pci/au88x0/au88x0_wt.h	2007-02-04 19:44:54.000000000 +0100
+++ linux-work3/sound/pci/au88x0/au88x0_wt.h	2007-03-25 16:57:17.000000000 +0200
@@ -33,25 +33,6 @@
 #define WT_PARM(x,y)	(((WT_BAR(x))+ 0x80 +(((x)&0x1f)<<2)+(y))<<2)	/* 0x0200 */
 #define WT_DELAY(x,y)	(((WT_BAR(x))+ 0x100 +(((x)&0x1f)<<2)+(y))<<2)	/* 0x0400 */
 
-/* Numeric indexes used by SetReg() and GetReg() */
-#if 0
-enum {
-	run = 0,		/* 0  W 1:run 0:stop */
-	parm0,			/* 1  W filter, samplerate */
-	parm1,			/* 2  W filter, samplerate */
-	parm2,			/* 3  W  */
-	parm3,			/* 4  RW volume. This value is calculated using floating point ops. */
-	sramp,			/* 5  W */
-	mute,			/* 6  W 1:mute, 0:unmute */
-	gmode,			/* 7  RO Looks like only bit0 is used. */
-	aramp,			/* 8  W */
-	mramp,			/* 9  W */
-	ctrl,			/* a  W */
-	delay,			/* b  W All 4 values are written at once with same value. */
-	dsreg,			/* c  (R)W */
-} wt_reg;
-#endif
-
 typedef struct {
 	u32 parm0;	/* this_1E4 */
 	u32 parm1;	/* this_1E8 */



More information about the Alsa-devel mailing list