diff options
author | Jeremy Allison <jra@samba.org> | 2011-11-15 11:27:42 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-11-15 22:44:25 +0100 |
commit | c4763385a883dcdec7f2101ae65c5a45642c247c (patch) | |
tree | e2554718610fdc1a2fb85eb080821ac3e4b00990 | |
parent | ec38098c293ae06565dffc4bc58d72eba2b31ed3 (diff) | |
download | samba-c4763385a883dcdec7f2101ae65c5a45642c247c.tar.gz samba-c4763385a883dcdec7f2101ae65c5a45642c247c.tar.bz2 samba-c4763385a883dcdec7f2101ae65c5a45642c247c.zip |
Remove unneeded NULL check.
-rw-r--r-- | source3/smbd/aio.c | 4 |
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); |