mirror of
https://github.com/torvalds/linux.git
synced 2024-11-06 20:21:57 +00:00
a3d7fc5ce9
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> |
||
---|---|---|
.. | ||
config.c | ||
crypto.c | ||
dir.c | ||
inode.c | ||
Kconfig | ||
lock.c | ||
Makefile | ||
mcache.c | ||
net.c | ||
netfs.h | ||
path_entry.c | ||
trans.c |