18 Sep
2012
18 Sep
'12
2:47 p.m.
At Mon, 17 Sep 2012 13:11:39 -0700, Dylan Reid wrote:
@@ -451,74 +487,32 @@ static int snd_usb_hw_params(struct snd_pcm_substream *substream, struct snd_usb_substream *subs = substream->runtime->private_data; struct audioformat *fmt; unsigned int channels, rate, format;
Need to delete this line, as these variables won't be used any longer.
sound/usb/pcm.c: In function ‘snd_usb_hw_params’: sound/usb/pcm.c:494:31: warning: unused variable ‘format’ [-Wunused-variable] sound/usb/pcm.c:494:15: warning: unused variable ‘channels’ [-Wunused-variable] sound/usb/pcm.c:509:15: warning: ‘rate’ may be used uninitialized in this function [-Wuninitialized]
Takashi