Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAOS-623 build: Remove some dead code #15604

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions src/client/api/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,31 +27,6 @@ static __thread bool ev_thpriv_is_init;
*/
static uint32_t ev_prog_timeout;

#define EQ_WITH_CRT

#if !defined(EQ_WITH_CRT)

#define crt_init(a,b,c) ({0;})
#define crt_finalize() ({0;})
#define crt_context_create(a, b) ({0;})
#define crt_context_destroy(a, b) ({0;})
#define crt_progress_cond(ctx, timeout, cb, args) \
({ \
int __rc = cb(args); \
\
while ((timeout) != 0 && __rc == 0) { \
sleep(1); \
__rc = cb(args); \
if ((timeout) < 0) \
continue; \
if ((timeout) < 1000000) \
break; \
(timeout) -= 1000000; \
} \
0; \
})
#endif

/*
* For the moment, we use a global crt_context_t to create all the RPC requests
* this module uses.
Expand Down
Loading