diff --git a/bytesconv.go b/bytesconv.go index 374092a30f..81f8e5b167 100644 --- a/bytesconv.go +++ b/bytesconv.go @@ -11,7 +11,6 @@ import ( "math" "net" "reflect" - "runtime" "strings" "sync" "time" @@ -348,7 +347,6 @@ func s2b(s string) (b []byte) { bh.Data = sh.Data bh.Cap = sh.Len bh.Len = sh.Len - runtime.KeepAlive(&s) return b }