summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-11-15 11:27:42 -0800
committerJeremy Allison <jra@samba.org>2011-11-15 22:44:25 +0100
commitc4763385a883dcdec7f2101ae65c5a45642c247c (patch)
treee2554718610fdc1a2fb85eb080821ac3e4b00990
parentec38098c293ae06565dffc4bc58d72eba2b31ed3 (diff)
downloadsamba-c4763385a883dcdec7f2101ae65c5a45642c247c.tar.gz
samba-c4763385a883dcdec7f2101ae65c5a45642c247c.tar.bz2
samba-c4763385a883dcdec7f2101ae65c5a45642c247c.zip
Remove unneeded NULL check.
-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);