diff options
Diffstat (limited to 'src/evbuf.h')
| -rw-r--r-- | src/evbuf.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/evbuf.h b/src/evbuf.h index ba61cd5..1afd9f5 100644 --- a/src/evbuf.h +++ b/src/evbuf.h | |||
| @@ -42,11 +42,6 @@ static inline int evbuf_empty(const struct mtdev_evbuf *evbuf) | |||
| 42 | return evbuf->head == evbuf->tail; | 42 | return evbuf->head == evbuf->tail; |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | static inline int evbuf_full(const struct mtdev_evbuf *evbuf) | ||
| 46 | { | ||
| 47 | return ((evbuf->head + 1) & (DIM_EVENTS - 1)) == evbuf->tail; | ||
| 48 | } | ||
| 49 | |||
| 50 | static inline void evbuf_put(struct mtdev_evbuf *evbuf, | 45 | static inline void evbuf_put(struct mtdev_evbuf *evbuf, |
| 51 | const struct input_event *ev) | 46 | const struct input_event *ev) |
| 52 | { | 47 | { |
