remove unused func

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
György Krajcsovits 2026-02-16 15:57:47 +01:00
parent 3b5a503db9
commit f3d9eb856e
No known key found for this signature in database
GPG key ID: 47A8F9CE80FD7C7F

View file

@ -483,19 +483,3 @@ func NewEmptyChunk(e Encoding) (Chunk, error) {
}
return nil, fmt.Errorf("invalid chunk encoding %q", e)
}
func newEmptyChunkWithST(e Encoding) Chunk {
switch e {
case EncXOROptST:
return NewXOROptSTChunk()
case EncXOROptOtelST:
return NewXOROptSTotelChunk()
case EncXOR2ST:
return NewXOR2STChunk()
case EncXOR2STotel:
return NewXOR2STotelChunk()
default:
// The caller code is literally right above this function.
panic(fmt.Sprintf("invalid chunk encoding %q", e))
}
}