diff options
author | Michael Adam <obnox@samba.org> | 2016-02-05 11:32:18 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-02-06 21:48:17 +0100 |
commit | 476672b647e44898a6de8894b23e598ad13b1fcf (patch) | |
tree | fc67ec55ef70436208321dd38061147b138fa8ce /source4/torture/nbench | |
parent | 5d759bd0d4bf7cae8b54b69af5ecacb7987c2a0f (diff) | |
download | samba-476672b647e44898a6de8894b23e598ad13b1fcf.tar.gz |
dlist: remove unneeded type argument from DLIST_ADD_END()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/nbench')
-rw-r--r-- | source4/torture/nbench/nbio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c index c9b369e8618..1de988e7a06 100644 --- a/source4/torture/nbench/nbio.c +++ b/source4/torture/nbench/nbio.c @@ -521,7 +521,7 @@ static bool nb_do_createx(struct ftable *f, f = talloc (NULL, struct ftable); f->locks = NULL; nb_set_createx_params(f, fname, create_options, create_disposition, handle); - DLIST_ADD_END(ftable, f, struct ftable *); + DLIST_ADD_END(ftable, f); } f->handle = handle; @@ -653,7 +653,7 @@ static bool nb_do_lockx(bool relock, int handle, off_t offset, int size, NTSTATU linfo = talloc (f, struct lock_info); linfo->offset = offset; linfo->size = size; - DLIST_ADD_END(f->locks, linfo, struct lock_info *); + DLIST_ADD_END(f->locks, linfo); } return true; |