1
linux/drivers/staging/line6
Ilia Mirkin 43c04d42c3 staging: line6: Remove NULL check before kfree
This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:57:33 -07:00
..
audio.c
audio.h
capture.c staging/line6: Fix sparse warning 'Using plain integer as NULL pointer' 2010-12-08 14:31:01 -08:00
capture.h
config.h
control.c
control.h
driver.c
driver.h
dumprequest.c
dumprequest.h
Kconfig
Makefile
midi.c staging/line6: Fix sparse warning 'Using plain integer as NULL pointer' 2010-12-08 14:31:01 -08:00
midi.h
midibuf.c
midibuf.h
pcm.c staging: line6: Remove NULL check before kfree 2011-03-14 11:57:33 -07:00
pcm.h
playback.c staging/line6: Fix sparse warning 'Using plain integer as NULL pointer' 2010-12-08 14:31:01 -08:00
playback.h
pod.c
pod.h
revision.h
toneport.c
toneport.h
usbdefs.h
variax.c
variax.h