linux/drivers/staging/comedi
Ilia Mirkin e4e1f289be staging: comedi: 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:31 -07:00
..
drivers staging: comedi: Remove NULL check before kfree 2011-03-14 11:57:31 -07:00
kcomedilib Staging: comedi: kcomedilib: fix coding style issues in kcomedilib_main.c 2010-07-08 13:15:16 -07:00
comedi_compat32.c
comedi_compat32.h
comedi_fops.c staging: comedi: Make INSN_BITS behavior consistent across drivers 2011-01-21 12:35:14 -08:00
comedi_fops.h
comedi.h
comedidev.h Staging: comedi: Remove COMEDI_PCI_INITCLEANUP macro 2010-06-17 13:48:12 -07:00
comedilib.h
drivers.c staging: comedi: fix coding style issue in drivers.c 2011-02-04 13:04:24 -08:00
internal.h
Kconfig Staging: Comedi: Fix a few NI module dependencies 2011-02-09 11:39:50 -08:00
Makefile Staging: comedi: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:52 -07:00
proc.c
range.c
TODO Staging: comedi: Remove typedefs 2010-06-17 13:49:07 -07:00