summaryrefslogtreecommitdiff
path: root/source3/smbd/aio.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/aio.c')
-rw-r--r--source3/smbd/aio.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index 9f7390bba3..3b12879798 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -973,19 +973,3 @@ static void aio_pwrite_smb2_done(struct tevent_req *req)
}
tevent_req_done(subreq);
}
-
-/****************************************************************************
- Handle any aio completion inline.
-*****************************************************************************/
-
-void aio_fsp_close(files_struct *fsp)
-{
- unsigned i;
-
- for (i=0; i<fsp->num_aio_requests; i++) {
- struct tevent_req *req = fsp->aio_requests[i];
- struct aio_extra *aio_ex = tevent_req_callback_data(
- req, struct aio_extra);
- aio_ex->fsp = NULL;
- }
-}