aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/InotifySource.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-06 17:20:03 +0200
committerMax Kellermann <max@duempel.org>2014-08-06 17:20:03 +0200
commit1f3d3970f672ec9b200ed358e2d02c45c97c34eb (patch)
tree8f10eab21a6b28081b62f99de9d2ad939d740836 /src/db/update/InotifySource.hxx
parentc9a71a7176f13cbd86c8270c523c0e506b2ab424 (diff)
downloadmpd-1f3d3970f672ec9b200ed358e2d02c45c97c34eb.tar.gz
mpd-1f3d3970f672ec9b200ed358e2d02c45c97c34eb.tar.xz
mpd-1f3d3970f672ec9b200ed358e2d02c45c97c34eb.zip
db/update/InotifySource: remove FifoBuffer
Eliminate support for partial reads. The Linux kernel will never return partial results, so this buffering was unnecessary.
Diffstat (limited to '')
-rw-r--r--src/db/update/InotifySource.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/db/update/InotifySource.hxx b/src/db/update/InotifySource.hxx
index 77c11093c..081ce10f3 100644
--- a/src/db/update/InotifySource.hxx
+++ b/src/db/update/InotifySource.hxx
@@ -21,7 +21,6 @@
#define MPD_INOTIFY_SOURCE_HXX
#include "event/SocketMonitor.hxx"
-#include "util/FifoBuffer.hxx"
class Error;
@@ -32,8 +31,6 @@ class InotifySource final : private SocketMonitor {
mpd_inotify_callback_t callback;
void *callback_ctx;
- FifoBuffer<uint8_t, 4096> buffer;
-
InotifySource(EventLoop &_loop,
mpd_inotify_callback_t callback, void *ctx, int fd);