diff --git a/discover/common.go b/discover/common.go index d26d52c..654e482 100644 --- a/discover/common.go +++ b/discover/common.go @@ -82,10 +82,3 @@ type ReadPacket struct { Data []byte Addr *net.UDPAddr } - -func min(x, y int) int { - if x > y { - return y - } - return x -}