From 681dad8907754a60e6c8d6e6608079768954a6a5 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Mon, 13 Oct 2014 16:29:10 +0200 Subject: [PATCH] common: remove dead code in buffer.cc Signed-off-by: Loic Dachary --- src/common/buffer.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common/buffer.cc b/src/common/buffer.cc index b1417591bff..fa45c61c2e2 100644 --- a/src/common/buffer.cc +++ b/src/common/buffer.cc @@ -334,10 +334,6 @@ static simple_spinlock_t buffer_debug_lock = SIMPLE_SPINLOCK_INITIALIZER; return true; } - bool is_page_aligned() { - return false; - } - int set_source(int fd, loff_t *off) { int flags = SPLICE_F_NONBLOCK; ssize_t r = safe_splice(fd, off, pipefds[1], NULL, len, flags); -- 2.47.3