]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:libcli: remove unused dest_ports struct smb_composite_fsinfo
authorStefan Metzmacher <metze@samba.org>
Thu, 3 Apr 2025 08:35:05 +0000 (10:35 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 18 Apr 2025 10:17:29 +0000 (10:17 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/libcli/smb_composite/smb_composite.h
source4/torture/raw/composite.c

index 437edb539533043606f0e6b65fb64c9bbce3f5ac..a0a319def681ddde82bc5aecf281578cd7a9acd9 100644 (file)
@@ -189,7 +189,6 @@ NTSTATUS smb_composite_sesssetup(struct smbcli_session *session, struct smb_comp
 struct smb_composite_fsinfo {
        struct {
                const char *dest_host;
-               const char **dest_ports;
                const char *socket_options;
                const char *called_name;
                const char *service;
index 19d61233002b0d81843731ce797d00096e5469f1..4d89bc09000e9ecb9589ff86011e515d3a0a9e1d 100644 (file)
@@ -342,7 +342,6 @@ static bool test_fsinfo(struct torture_context *tctx, struct smbcli_state *cli)
        bool ret = true;
 
        io1.in.dest_host = torture_setting_string(tctx, "host", NULL);
-       io1.in.dest_ports = lpcfg_smb_ports(tctx->lp_ctx);
        io1.in.socket_options = lpcfg_socket_options(tctx->lp_ctx);
        io1.in.called_name = torture_setting_string(tctx, "host", NULL);
        io1.in.service = torture_setting_string(tctx, "share", NULL);