5 Dec
2013
5 Dec
'13
9:14 p.m.
At Thu, 5 Dec 2013 14:32:43 -0500 (EST), Mikulas Patocka wrote:
Fix the following warning when optimizing for size with gcc-4.6.4: sound/usb/mixer_quirks.c:1514:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized]
Signed-off-by: Mikulas Patocka mpatocka@redhat.com
Thanks, applied.
Takashi
sound/usb/mixer_quirks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-3.12.3/sound/usb/mixer_quirks.c
--- linux-3.12.3.orig/sound/usb/mixer_quirks.c 2013-12-05 20:21:18.000000000 +0100 +++ linux-3.12.3/sound/usb/mixer_quirks.c 2013-12-05 20:21:23.000000000 +0100 @@ -1520,7 +1520,7 @@ static int snd_microii_controls_create(s return err; }
- return err;
- return 0;
}
int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer)