linux/drivers/staging/pohmelfs
Ilia Mirkin 14910178fc staging: pohmelfs: 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
..
config.c staging: pohmelfs: Remove NULL check before kfree 2011-03-14 11:57:33 -07:00
crypto.c pohmelfs: remove unneeded conditionals before calls to crypto_destroy_tfm wrappers. 2010-11-09 16:07:08 -08:00
dir.c Staging: pohmelfs/dir.c: Remove unneeded mutex_unlock() from pohmelfs_rename() 2011-01-21 12:38:46 -08:00
inode.c staging: pohmelfs: Fix some typos, and comments. 2011-02-04 13:01:02 -08:00
Kconfig Staging: pohmelfs: fix kconfig dependencies 2009-04-03 14:53:36 -07:00
lock.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
Makefile Staging: pohmelfs: kconfig/makefile and vfs changes. 2009-04-03 14:53:36 -07:00
mcache.c Staging: pohmelfs: distributed locking and cache coherency protocol. 2009-04-03 14:53:34 -07:00
net.c pohmelfs: double-free and leak 2011-01-12 20:02:44 -05:00
netfs.h staging: pohmelfs: Fix some typos, and comments. 2011-02-04 13:01:02 -08:00
path_entry.c fs: dcache remove dcache_lock 2011-01-07 17:50:23 +11:00
trans.c Staging: pohmelfs: sync with the development tree 2009-09-15 12:02:30 -07:00