summaryrefslogtreecommitdiffstats
path: root/sound/usb/mixer.h
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2014-11-03 14:54:36 +0100
committerTakashi Iwai <tiwai@suse.de>2014-11-03 15:16:14 +0100
commit31604d35db18c1382c7ee9fa836ff9ab0b4d2751 (patch)
treef55e9f94fba3a32c6c29921f8242c4e3cbf7df2b /sound/usb/mixer.h
parentb5b4a41b392960010fccf1f9ccf8334d612bd450 (diff)
downloadlinux-31604d35db18c1382c7ee9fa836ff9ab0b4d2751.tar.gz
linux-31604d35db18c1382c7ee9fa836ff9ab0b4d2751.tar.bz2
linux-31604d35db18c1382c7ee9fa836ff9ab0b4d2751.zip
ALSA: emu10k1: Deletion of unnecessary checks before three function calls
The functions kfree(), release_firmware() and snd_util_memhdr_free() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer.h')
0 files changed, 0 insertions, 0 deletions