summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-09-19 09:55:18 -0600
committerJens Axboe <axboe@kernel.dk>2019-09-19 09:55:18 -0600
commitefb4e867013f64df7db92a3dee9f9d497f7de3b6 (patch)
tree2b142a5479ffa148cfb49fe14f3bae7661ba6f52 /src
parentefb39e105afdb4dd5c0f1e964720cfa3cdcceb18 (diff)
downloadliburing-efb4e867013f64df7db92a3dee9f9d497f7de3b6.tar.gz
liburing-efb4e867013f64df7db92a3dee9f9d497f7de3b6.tar.bz2
Remove TIMEOUT code
We'll rework it for the final version, kill the early version test case and liburing addition. This reverts commits: efb39e105afdb4dd5c0f1e964720cfa3cdcceb18 e4269d2c10586c03786df24d6382da99a956f03c 4652762d5be96e08a0ff8194de1e6f6d8127cee5 f102231b0fdbfe8587efda0b24c79a69ee4d8ba7 Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src')
-rw-r--r--src/include/liburing.h7
-rw-r--r--src/include/liburing/io_uring.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/src/include/liburing.h b/src/include/liburing.h
index 5448771..c4189b1 100644
--- a/src/include/liburing.h
+++ b/src/include/liburing.h
@@ -10,7 +10,6 @@ extern "C" {
#include <signal.h>
#include <string.h>
#include <inttypes.h>
-#include <time.h>
#include "liburing/compat.h"
#include "liburing/io_uring.h"
#include "liburing/barrier.h"
@@ -235,12 +234,6 @@ static inline void io_uring_prep_nop(struct io_uring_sqe *sqe)
sqe->opcode = IORING_OP_NOP;
}
-static inline void io_uring_prep_timeout(struct io_uring_sqe *sqe,
- struct timespec *ts)
-{
- io_uring_prep_rw(IORING_OP_TIMEOUT, sqe, 0, ts, 1, 0);
-}
-
#ifdef __cplusplus
}
#endif
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h
index cf3101d..96ee9d9 100644
--- a/src/include/liburing/io_uring.h
+++ b/src/include/liburing/io_uring.h
@@ -61,7 +61,6 @@ struct io_uring_sqe {
#define IORING_OP_SYNC_FILE_RANGE 8
#define IORING_OP_SENDMSG 9
#define IORING_OP_RECVMSG 10
-#define IORING_OP_TIMEOUT 11
/*
* sqe->fsync_flags