diff --git a/doghouse/server/doghouse.go b/doghouse/server/doghouse.go index f91eda7263..893cc4c2ce 100644 --- a/doghouse/server/doghouse.go +++ b/doghouse/server/doghouse.go @@ -387,10 +387,3 @@ func annotationToDiagnostic(a *doghouse.Annotation) *rdf.Diagnostic { OriginalOutput: a.RawMessage, } } - -func min(x, y int) int { - if x > y { - return y - } - return x -} diff --git a/service/github/github.go b/service/github/github.go index 055d70f9de..896ec37208 100644 --- a/service/github/github.go +++ b/service/github/github.go @@ -475,10 +475,3 @@ func getSourceLine(sourceLines map[int]string, line int) (string, error) { } return lineContent, nil } - -func max(x, y int32) int32 { - if x < y { - return y - } - return x -}