From 1f3d3970f672ec9b200ed358e2d02c45c97c34eb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 6 Aug 2014 17:20:03 +0200 Subject: db/update/InotifySource: remove FifoBuffer Eliminate support for partial reads. The Linux kernel will never return partial results, so this buffering was unnecessary. --- src/db/update/InotifySource.hxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/db/update/InotifySource.hxx') 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 buffer; - InotifySource(EventLoop &_loop, mpd_inotify_callback_t callback, void *ctx, int fd); -- cgit v1.2.3