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
..
Kconfig
Makefile
config.c staging: Drop unnecessary null test 2010-08-31 11:13:15 -07:00
crypto.c
dir.c
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
lock.c
mcache.c
net.c
netfs.h
path_entry.c fs: fs_struct rwlock to spinlock 2010-08-18 08:35:46 -04:00
trans.c