Events: simplified ngx_event_aio_t definition.

No functional changes.
This commit is contained in:
Ruslan Ermilov 2015-03-03 18:09:13 +03:00
parent ea881578a2
commit b384247262

View File

@ -176,11 +176,9 @@ struct ngx_event_aio_s {
#if (NGX_HAVE_EVENTFD)
int64_t res;
#if (NGX_TEST_BUILD_EPOLL)
ngx_err_t err;
size_t nbytes;
#endif
#else
#if !(NGX_HAVE_EVENTFD) || (NGX_TEST_BUILD_EPOLL)
ngx_err_t err;
size_t nbytes;
#endif