Skip to contentSkip to conversation

Unused variable warning in ac97_codec.c

PATCH New Brian Gerst 1 participant 1 message Feb 22, 2003 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Unused variable warning in ac97_codec.c

Kill unused variable.

--
Brian Gerst

sound/pci/ac97/ac97_codec.c +0 -1
@@ -2475,7 +2475,6 @@
 int snd_ac97_tune_hardware(ac97_t *ac97, struct pci_dev *pci, struct ac97_quirk *quirk)
 {
 	unsigned short vendor, device;
-	struct ac97_quirk *q;
 
 	pci_read_config_word(pci, PCI_SUBSYSTEM_VENDOR_ID, &vendor);
 	pci_read_config_word(pci, PCI_SUBSYSTEM_ID, &device);