diff options
author | kbuild test robot <[email protected]> | 2016-09-20 08:10:13 +0800 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2016-09-20 12:53:23 +0200 |
commit | a4bc746c41b56ab7588b20d84a58906986edce83 (patch) | |
tree | 705e299a2dadc3537ba177dbfdcad6d0f6e7ad13 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | a16039cbf1a1ee7e76d7d100f9e613998919ab91 (diff) |
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 <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions