libsmb: Simplify callers of SMBC_dlist_contains()
authorVolker Lendecke <vl@samba.org>
Fri, 21 Feb 2020 21:35:44 +0000 (22:35 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 25 Feb 2020 17:44:44 +0000 (17:44 +0000)
commitd7281e3210373725787e1b69d59bc12a5712b425
tree0aabe37f9a0173e175491809d7581c2d2dd9445d
parent427e10e8e3250d791134efcbbc34e07714d8eebf
libsmb: Simplify callers of SMBC_dlist_contains()

This function already does the NULL check on the file pointer

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/libsmb_dir.c
source3/libsmb/libsmb_file.c
source3/libsmb/libsmb_stat.c