linux/sound/usb/caiaq
Daniel Mack 2dad940219 ALSA: snd-usb-caiaq: fix smatch warnings
Fix three smatch warnings recently introduced:

sound/usb/caiaq/device.c:166 usb_ep1_command_reply_dispatch() warn:
  variable dereferenced before check 'cdev' (see line 163)
sound/usb/caiaq/device.c:517 snd_disconnect() warn: variable
  dereferenced before check 'card' (see line 514)
sound/usb/caiaq/input.c:510 snd_usb_caiaq_ep4_reply_dispatch() warn:
  variable dereferenced before check 'cdev' (see line 506)

Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-03-07 09:24:12 +01:00
..
Makefile ALSA: snd-usb-caiaq: rename files to remove redundant information in file pathes 2009-04-14 13:31:17 +02:00
audio.c ALSA: snd-usb-caiaq: switch to dev_*() logging 2013-03-04 09:57:26 +01:00
audio.h ALSA: snd-usb-caiaq: rename 'dev' to 'cdev' 2013-03-04 09:57:17 +01:00
control.c ALSA: snd-usb-caiaq: switch to dev_*() logging 2013-03-04 09:57:26 +01:00
control.h ALSA: snd-usb-caiaq: rename 'dev' to 'cdev' 2013-03-04 09:57:17 +01:00
device.c ALSA: snd-usb-caiaq: fix smatch warnings 2013-03-07 09:24:12 +01:00
device.h ALSA: snd-usb-caiaq: switch to dev_*() logging 2013-03-04 09:57:26 +01:00
input.c ALSA: snd-usb-caiaq: fix smatch warnings 2013-03-07 09:24:12 +01:00
input.h ALSA: snd-usb-caiaq: rename 'dev' to 'cdev' 2013-03-04 09:57:17 +01:00
midi.c ALSA: snd-usb-caiaq: switch to dev_*() logging 2013-03-04 09:57:26 +01:00
midi.h ALSA: snd-usb-caiaq: rename 'dev' to 'cdev' 2013-03-04 09:57:17 +01:00