1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

libsmb: Remove map_fnum_to_smb2_handle() from cli_smb2_qpathinfo2()

Not used

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2022-08-23 12:59:50 +02:00 committed by Jeremy Allison
parent ffc9072fc0
commit 05267304bd

View File

@ -2170,7 +2170,6 @@ NTSTATUS cli_smb2_qpathinfo2(struct cli_state *cli,
SMB_INO_T *ino)
{
NTSTATUS status;
struct smb2_hnd *ph = NULL;
uint16_t fnum = 0xffff;
TALLOC_CTX *frame = talloc_stackframe();
@ -2196,13 +2195,6 @@ NTSTATUS cli_smb2_qpathinfo2(struct cli_state *cli,
goto fail;
}
status = map_fnum_to_smb2_handle(cli,
fnum,
&ph);
if (!NT_STATUS_IS_OK(status)) {
goto fail;
}
status = cli_qfileinfo_basic(
cli,
fnum,