Skip to contentSkip to conversation

Trivial : emu10k1 definition redundancy

PATCH In review Fabian Frederick 2 participants 2 messages Apr 14, 2004 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Trivial : emu10k1 definition redundancy

Remove emu10k1_t definition redundancy

Regards,
Fabian

include/sound/emu10k1.h +2 -0
diff -Naur orig/include/sound/emu10k1.h edited/include/sound/emu10k1.h
@@ -1368,4 +1368,6 @@
 #define SNDRV_EMU10K1_IOCTL_SINGLE_STEP	_IOW ('H', 0x83, int)
 #define SNDRV_EMU10K1_IOCTL_DBG_READ	_IOR ('H', 0x84, int)
 
+#define chip_t emu10k1_t
+
 #endif	/* __SOUND_EMU10K1_H */
sound/pci/emu10k1/emufx.c +0 -2
diff -Naur orig/sound/pci/emu10k1/emufx.c edited/sound/pci/emu10k1/emufx.c
@@ -33,8 +33,6 @@
 #include <sound/core.h>
 #include <sound/emu10k1.h>
 
-#define chip_t emu10k1_t
-
 #if 0		/* for testing purposes - digital out -> capture */
 #define EMU10K1_CAPTURE_DIGITAL_OUT
 #endif
sound/pci/emu10k1/emumixer.c +0 -2
diff -Naur orig/sound/pci/emu10k1/emumixer.c edited/sound/pci/emu10k1/emumixer.c
@@ -32,8 +32,6 @@
 #include <sound/core.h>
 #include <sound/emu10k1.h>
 
-#define chip_t emu10k1_t
-
 static int snd_emu10k1_spdif_info(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t * uinfo)
 {
 	uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958;
#1 lore raw
Quoted 1 line · * Fabian Frederick ([email protected]) wrote:

Remove emu10k1_t definition redundancy

This one's probably fine. It'd be nice if you could inline the patches in your mail (making sure whitespaces won't get munged and lines won't get linewrapped by your mailer). Makes it easier to view the patch and reply with comments inlined in the patch.

thanks,
-chris

Signature · 1 line
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net