ALSA: fireworks: Remove a constant over width to which it's applied
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 4 Jun 2014 06:25:35 +0000 (15:25 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Jun 2014 12:36:40 +0000 (14:36 +0200)
The constants of enum snd_efw_grp_type is for struct snd_efw_phys_grp.type.
But this member is 1 byte. Although the value is between 0x00-0xff, a constant
has 0x10000. This constant is meaningless.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireworks/fireworks.h

index d2b36be4d2f86a1b996259417fe4165f0ce996fd..4f0201a95222a2502ec438199fe9e78cad33b647 100644 (file)
@@ -162,7 +162,6 @@ enum snd_efw_grp_type {
        SND_EFW_CH_TYPE_GUITAR                  = 7,
        SND_EFW_CH_TYPE_PIEZO_GUITAR            = 8,
        SND_EFW_CH_TYPE_GUITAR_STRING           = 9,
-       SND_EFW_CH_TYPE_VIRTUAL                 = 0x10000,
        SND_EFW_CH_TYPE_DUMMY
 };
 struct snd_efw_phys_meters {