WSL2-Linux-Kernel/fs/dlm
Julia Lawall f70cb33b9c fs/dlm: Drop unnecessary null test
hlist_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,E,E1,E2;
statement S,S1,S2;
@@

I(x,...) { <...
- (x != NULL) &&
  E
  ...> }
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David Teigland <teigland@redhat.com>
2010-08-05 14:23:45 -05:00
..
Kconfig
Makefile
ast.c dlm: fix ordering of bast and cast 2010-02-24 11:46:53 -06:00
ast.h dlm: fix ordering of bast and cast 2010-02-24 11:46:53 -06:00
config.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
config.h
debug_fs.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
dir.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
dir.h
dlm_internal.h dlm: fix ordering of bast and cast 2010-02-24 11:46:53 -06:00
lock.c dlm: cleanup remove unused code 2010-04-30 14:52:28 -05:00
lock.h
lockspace.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
lockspace.h
lowcomms.c fs/dlm: Drop unnecessary null test 2010-08-05 14:23:45 -05:00
lowcomms.h
lvb_table.h
main.c
member.c Fix misspellings of "truly" in comments. 2010-02-04 11:55:45 +01:00
member.h
memory.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
memory.h
midcomms.c
midcomms.h
netlink.c dlm: use genl_register_family_with_ops() 2010-08-05 14:22:01 -05:00
plock.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
rcom.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
rcom.h
recover.c
recover.h
recoverd.c
recoverd.h
requestqueue.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
requestqueue.h
user.c dlm: fix ast ordering for user locks 2010-04-30 14:52:51 -05:00
user.h dlm: fix ordering of bast and cast 2010-02-24 11:46:53 -06:00
util.c
util.h