From: Stefan Metzmacher Date: Thu, 10 Apr 2025 18:28:39 +0000 (+0200) Subject: s4:libcli: remove unused smb_composite_fsinfo() X-Git-Tag: tevent-0.17.0~241 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=282211ef4498a604ce048acc3d135c50ba48641b;p=thirdparty%2Fsamba.git s4:libcli: remove unused smb_composite_fsinfo() Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke --- diff --git a/source4/libcli/smb_composite/fsinfo.c b/source4/libcli/smb_composite/fsinfo.c index 215018fd1a0..7c23be64947 100644 --- a/source4/libcli/smb_composite/fsinfo.c +++ b/source4/libcli/smb_composite/fsinfo.c @@ -196,18 +196,3 @@ NTSTATUS smb_composite_fsinfo_recv(struct composite_context *c, TALLOC_CTX *mem_ talloc_free(c); return status; } - - -/* - composite fsinfo call - sync interface -*/ -NTSTATUS smb_composite_fsinfo(struct smbcli_tree *tree, - TALLOC_CTX *mem_ctx, - struct smb_composite_fsinfo *io, - struct resolve_context *resolve_ctx, - struct tevent_context *ev) -{ - struct composite_context *c = smb_composite_fsinfo_send(tree, io, resolve_ctx, ev); - return smb_composite_fsinfo_recv(c, mem_ctx); -} - diff --git a/source4/libcli/smb_composite/smb_composite.h b/source4/libcli/smb_composite/smb_composite.h index ecfd5e0d39c..9939d59f20e 100644 --- a/source4/libcli/smb_composite/smb_composite.h +++ b/source4/libcli/smb_composite/smb_composite.h @@ -211,11 +211,6 @@ struct composite_context *smb_composite_fsinfo_send(struct smbcli_tree *tree, struct resolve_context *resolve_ctx, struct tevent_context *event_ctx); NTSTATUS smb_composite_fsinfo_recv(struct composite_context *c, TALLOC_CTX *mem_ctx); -NTSTATUS smb_composite_fsinfo(struct smbcli_tree *tree, - TALLOC_CTX *mem_ctx, - struct smb_composite_fsinfo *io, - struct resolve_context *resolve_ctx, - struct tevent_context *ev); /* composite call for appending new acl to the file's security descriptor and get