Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9ee34a5d
Commit
9ee34a5d
authored
Nov 01, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Remove no longer needed event handle from async_irp.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3dacf821
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
file.c
dlls/ntdll/file.c
+0
-5
No files found.
dlls/ntdll/file.c
View file @
9ee34a5d
...
...
@@ -375,7 +375,6 @@ struct async_fileio_write
struct
async_irp
{
struct
async_fileio
io
;
HANDLE
event
;
/* async event */
void
*
buffer
;
/* buffer for output */
ULONG
size
;
/* size of buffer */
};
...
...
@@ -568,7 +567,6 @@ static NTSTATUS server_read_file( HANDLE handle, HANDLE event, PIO_APC_ROUTINE a
if
(
!
(
async
=
(
struct
async_irp
*
)
alloc_fileio
(
sizeof
(
*
async
),
irp_completion
,
handle
)))
return
STATUS_NO_MEMORY
;
async
->
event
=
event
;
async
->
buffer
=
buffer
;
async
->
size
=
size
;
...
...
@@ -612,7 +610,6 @@ static NTSTATUS server_write_file( HANDLE handle, HANDLE event, PIO_APC_ROUTINE
if
(
!
(
async
=
(
struct
async_irp
*
)
alloc_fileio
(
sizeof
(
*
async
),
irp_completion
,
handle
)))
return
STATUS_NO_MEMORY
;
async
->
event
=
event
;
async
->
buffer
=
NULL
;
async
->
size
=
0
;
...
...
@@ -1522,7 +1519,6 @@ static NTSTATUS server_ioctl_file( HANDLE handle, HANDLE event,
if
(
!
(
async
=
(
struct
async_irp
*
)
alloc_fileio
(
sizeof
(
*
async
),
irp_completion
,
handle
)))
return
STATUS_NO_MEMORY
;
async
->
event
=
event
;
async
->
buffer
=
out_buffer
;
async
->
size
=
out_size
;
...
...
@@ -3321,7 +3317,6 @@ NTSTATUS WINAPI NtFlushBuffersFile( HANDLE hFile, IO_STATUS_BLOCK *io )
if
(
!
(
async
=
(
struct
async_irp
*
)
alloc_fileio
(
sizeof
(
*
async
),
irp_completion
,
hFile
)))
return
STATUS_NO_MEMORY
;
async
->
event
=
NULL
;
async
->
buffer
=
NULL
;
async
->
size
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment