diff --git a/derp/derp_server.go b/derp/derp_server.go index 1a03012a4..b5085ff10 100644 --- a/derp/derp_server.go +++ b/derp/derp_server.go @@ -69,10 +69,6 @@ func init() { } } -func init() { - rand.Seed(time.Now().UnixNano()) -} - const ( perClientSendQueueDepth = 32 // packets buffered for sending writeTimeout = 2 * time.Second diff --git a/ipn/ipnlocal/profiles.go b/ipn/ipnlocal/profiles.go index 3644e0430..4034f4f7b 100644 --- a/ipn/ipnlocal/profiles.go +++ b/ipn/ipnlocal/profiles.go @@ -12,7 +12,6 @@ import ( "runtime" "slices" "strings" - "time" "tailscale.com/clientupdate" "tailscale.com/envknob" @@ -201,10 +200,6 @@ func (pm *profileManager) Reset() { pm.NewProfile() } -func init() { - rand.Seed(time.Now().UnixNano()) -} - // SetPrefs sets the current profile's prefs to the provided value. // It also saves the prefs to the StateStore. It stores a copy of the // provided prefs, which may be accessed via CurrentPrefs.