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/ntvfs | |
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/ntvfs')
-rw-r--r-- | source4/ntvfs/ntvfs_base.c | 2 | ||||
-rw-r--r-- | source4/ntvfs/posix/pvfs_notify.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c index 8058181f89d..d037a0ea377 100644 --- a/source4/ntvfs/ntvfs_base.c +++ b/source4/ntvfs/ntvfs_base.c @@ -190,7 +190,7 @@ NTSTATUS ntvfs_init_connection(TALLOC_CTX *mem_ctx, struct share_config *scfg, e return NT_STATUS_INTERNAL_ERROR; } ntvfs->depth = i; - DLIST_ADD_END(ctx->modules, ntvfs, struct ntvfs_module_context *); + DLIST_ADD_END(ctx->modules, ntvfs); } if (!ctx->modules) { diff --git a/source4/ntvfs/posix/pvfs_notify.c b/source4/ntvfs/posix/pvfs_notify.c index 316353f38f8..91a151bdb9f 100644 --- a/source4/ntvfs/posix/pvfs_notify.c +++ b/source4/ntvfs/posix/pvfs_notify.c @@ -278,7 +278,7 @@ NTSTATUS pvfs_notify(struct ntvfs_module_context *ntvfs, NT_STATUS_HAVE_NO_MEMORY(pending->req); pending->info = info; - DLIST_ADD_END(f->notify_buffer->pending, pending, struct notify_pending *); + DLIST_ADD_END(f->notify_buffer->pending, pending); /* if the buffer is empty then start waiting */ if (f->notify_buffer->num_changes == 0 && |