From c4763385a883dcdec7f2101ae65c5a45642c247c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 15 Nov 2011 11:27:42 -0800 Subject: [PATCH] Remove unneeded NULL check. --- source3/smbd/aio.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c index d367826acc2..07b8388fba0 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); -- 2.11.4.GIT