ipn: remove FakeExpireAfter Backend function

No callers remain (last one was removed with
tailscale/corp@1c095ae08f), and it's
pretty esoteric.

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
This commit is contained in:
Mihai Parparita
2022-04-29 15:34:53 -07:00
committed by GitHub
parent d915e0054c
commit 2ec371fe8b
5 changed files with 0 additions and 52 deletions

View File

@@ -5,8 +5,6 @@
package ipn
import (
"time"
"tailscale.com/ipn/ipnstate"
"tailscale.com/tailcfg"
"tailscale.com/types/netmap"
@@ -102,12 +100,6 @@ func (b *FakeBackend) RequestEngineStatus() {
}
}
func (b *FakeBackend) FakeExpireAfter(x time.Duration) {
if b.notify != nil {
b.notify(Notify{NetMap: &netmap.NetworkMap{}})
}
}
func (b *FakeBackend) Ping(ip string, useTSMP bool) {
if b.notify != nil {
b.notify(Notify{PingResult: &ipnstate.PingResult{}})