From cb138d62a68d9763642555df807abeb3b60c087c Mon Sep 17 00:00:00 2001 From: Jeff Olivier Date: Wed, 11 Dec 2024 18:09:30 -0700 Subject: [PATCH] DAOS-623 build: Remove some dead code Required-githooks: true Signed-off-by: Jeff Olivier --- src/client/api/event.c | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/client/api/event.c b/src/client/api/event.c index ae7241e830e..87f673b0eae 100644 --- a/src/client/api/event.c +++ b/src/client/api/event.c @@ -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.