linux/sound/usb/line6
kbuild test robot a4bc746c41 ALSA: line6: fix ifnullfree.cocci warnings
sound/usb/line6/driver.c:484:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values.

 NULL check before some freeing functions is not needed.

 Based on checkpatch warning
 "kfree(NULL) is safe this check is probably not required"
 and kfreeaddr.cocci by Julia Lawall.

Generated by: scripts/coccinelle/free/ifnullfree.cocci

CC: Andrej Krutak <dev@andree.sk>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-09-20 12:53:23 +02:00
..
capture.c ALSA: line6: Add LINE6_CAP_IN_NEEDS_OUT, a void playback stream during capture 2016-09-19 23:00:37 +02:00
capture.h ALSA: line6: Reorganize PCM stream handling 2015-01-28 07:22:36 +01:00
driver.c ALSA: line6: fix ifnullfree.cocci warnings 2016-09-20 12:53:23 +02:00
driver.h ALSA: line6: Add hwdep interface to access the POD control messages 2016-09-19 23:03:47 +02:00
Kconfig ALSA: line6: Add support for POD X3 2016-09-19 23:02:06 +02:00
Makefile ALSA: line6: Reorganize card resource handling 2015-01-20 08:17:16 +01:00
midi.c ALSA: line6: Allow processing of raw incoming messages 2016-09-19 23:01:19 +02:00
midi.h ALSA: line6: Tidy up and typo fixes in comments 2015-01-28 20:54:43 +01:00
midibuf.c ALSA: line6: Remove unused line6_midibuf_skip_message() 2015-02-01 09:35:25 +01:00
midibuf.h ALSA: line6: Remove unused line6_midibuf_skip_message() 2015-02-01 09:35:25 +01:00
pcm.c ALSA: line6: Add LINE6_CAP_IN_NEEDS_OUT, a void playback stream during capture 2016-09-19 23:00:37 +02:00
pcm.h ALSA: line6: Add LINE6_CAP_IN_NEEDS_OUT, a void playback stream during capture 2016-09-19 23:00:37 +02:00
playback.c ALSA: line6: Allow different channel numbers for in/out 2016-09-19 23:00:16 +02:00
playback.h ALSA: line6: Reorganize PCM stream handling 2015-01-28 07:22:36 +01:00
pod.c ALSA: line6: Distinguish device init (ctrl EP) and MIDI data transfer (int EP) 2016-09-19 23:00:47 +02:00
podhd.c ALSA: line6: Cleanup podhd initialization 2016-09-19 23:02:36 +02:00
toneport.c ALSA: line6: Add LINE6_CAP_IN_NEEDS_OUT, a void playback stream during capture 2016-09-19 23:00:37 +02:00
variax.c ALSA: line6: Distinguish device init (ctrl EP) and MIDI data transfer (int EP) 2016-09-19 23:00:47 +02:00