summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/aio.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index d367826acc..07b8388fba 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -387,10 +387,6 @@ bool cancel_smb2_aio(struct smb_request *smbreq)
struct aio_extra *aio_ex = NULL;
int ret;
- if (smbreq) {
- smb2req = smbreq->smb2req;
- }
-
if (smb2req) {
aio_ex = talloc_get_type(smbreq->async_priv,
struct aio_extra);