1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-15 13:49:28 +03:00

smbd: remove more dead code from dos_mode_at_vfs_get_dosmode_done()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison
2021-06-10 10:55:30 -07:00
parent 5c7ba35be4
commit 210e7628ac

View File

@ -837,7 +837,6 @@ static void dos_mode_at_vfs_get_dosmode_done(struct tevent_req *subreq)
struct dos_mode_at_state *state =
tevent_req_data(req,
struct dos_mode_at_state);
char *path = NULL;
struct vfs_aio_state aio_state;
NTSTATUS status;
bool ok;
@ -889,14 +888,6 @@ static void dos_mode_at_vfs_get_dosmode_done(struct tevent_req *subreq)
* Fall back to sync dos_mode() if we got NOT_IMPLEMENTED.
*/
path = talloc_asprintf(state,
"%s/%s",
state->dir_fsp->fsp_name->base_name,
state->smb_fname->base_name);
if (tevent_req_nomem(path, req)) {
return;
}
state->dosmode = fdos_mode(state->smb_fname->fsp);
tevent_req_done(req);
return;