1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

smbd: remove unneeded code from dos_mode_at_vfs_get_dosmode_done()

This is not used anymore since e7a90fd7a173d8e3cd5a2bb163df61758b2b973f.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jun 10 19:22:23 UTC 2021 on sn-devel-184
This commit is contained in:
Ralph Boehme 2021-06-10 16:15:25 +02:00 committed by Jeremy Allison
parent eef0f73620
commit 5c7ba35be4

View File

@ -838,7 +838,6 @@ static void dos_mode_at_vfs_get_dosmode_done(struct tevent_req *subreq)
tevent_req_data(req,
struct dos_mode_at_state);
char *path = NULL;
struct smb_filename *smb_path = NULL;
struct vfs_aio_state aio_state;
NTSTATUS status;
bool ok;
@ -898,16 +897,6 @@ static void dos_mode_at_vfs_get_dosmode_done(struct tevent_req *subreq)
return;
}
smb_path = synthetic_smb_fname(state,
path,
NULL,
&state->smb_fname->st,
state->smb_fname->twrp,
0);
if (tevent_req_nomem(smb_path, req)) {
return;
}
state->dosmode = fdos_mode(state->smb_fname->fsp);
tevent_req_done(req);
return;