1
linux/drivers/staging/pohmelfs
Julia Lawall a3d7fc5ce9 staging: Drop unnecessary null test
list_for_each_entry binds its first argument to a non-null value, and thus
any null test on the value of that argument is superfluous.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
iterator I;
expression x;
statement S;
@@

I(x,...) { <...
- if (x != NULL || ...)
  S
  ...> }
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-31 11:13:15 -07:00
..
config.c staging: Drop unnecessary null test 2010-08-31 11:13:15 -07:00
crypto.c Staging: pohmelfs: fix spaces and TAB coding style issue in crypto.c 2010-05-11 11:35:41 -07:00
dir.c Staging: pohmelfs: fix spaces and TAB coding style issue in dir.c 2010-05-11 11:35:41 -07:00
inode.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2010-08-10 11:26:52 -07:00
Kconfig
lock.c
Makefile
mcache.c
net.c
netfs.h Staging: pohmelfs: fix spaces and TAB coding style issue in netfs.h 2010-05-11 11:35:41 -07:00
path_entry.c fs: fs_struct rwlock to spinlock 2010-08-18 08:35:46 -04:00
trans.c