Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 395a434e authored by Subrata Modak's avatar Subrata Modak Committed by Takashi Iwai
Browse files

ALSA: Fix Trivial Warnining in sound/pci/cmipci.c



Fixed the compile warning below by initializatin iomidi variable properly.
  sound/pci/cmipci.c: In function ‘snd_cmipci_probe’:
  sound/pci/cmipci.c:3017: warning: ‘iomidi’ may be used uninitialized in this function

Signed-off-by: default avatarSubrata Modak <subrata@linux.vnet.ibm.com>
Cc: linux-pci <linux-pci@atrey.karlin.mff.cuni.cz>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: Sachin P Sant <sachinp@linux.vnet.ibm.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent e3ba906a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3014,7 +3014,7 @@ static int __devinit snd_cmipci_create(struct snd_card *card, struct pci_dev *pc
		.dev_free =	snd_cmipci_dev_free,
	};
	unsigned int val;
	long iomidi;
	long iomidi = 0;
	int integrated_midi = 0;
	char modelstr[16];
	int pcm_index, pcm_spdif_index;