mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-24 08:02:35 +00:00
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> |
History
|
|
|---|---|---|
| .. | ||
| config.c | ||
| crypto.c | ||
| dir.c | ||
| inode.c | ||
| Kconfig | ||
| lock.c | ||
| Makefile | ||
| mcache.c | ||
| net.c | ||
| netfs.h | ||
| path_entry.c | ||
| trans.c | ||