From 252265fa81989f4cef2fd9e875bb77fb318c9314 Mon Sep 17 00:00:00 2001 From: johncming Date: Mon, 31 Aug 2020 22:55:47 +0800 Subject: [PATCH] tsdb/chunks: remove un-used code. (#6944) Signed-off-by: johncming --- tsdb/chunks/chunks.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tsdb/chunks/chunks.go b/tsdb/chunks/chunks.go index 7d0c50159..6f7ea09b4 100644 --- a/tsdb/chunks/chunks.go +++ b/tsdb/chunks/chunks.go @@ -419,10 +419,6 @@ func (b realByteSlice) Range(start, end int) []byte { return b[start:end] } -func (b realByteSlice) Sub(start, end int) ByteSlice { - return b[start:end] -} - // Reader implements a ChunkReader for a serialized byte stream // of series data. type Reader struct {