wgengine: fix macos staticcheck errors (#557)

Signed-off-by: Wendi <wendi.yu@yahoo.ca>
This commit is contained in:
Wendi Yu
2020-07-14 17:28:02 -06:00
committed by GitHub
parent d9ac2ada45
commit c3736250a4
5 changed files with 22 additions and 16 deletions

View File

@@ -20,13 +20,6 @@ type message interface {
ignore() bool
}
// unspecifiedMessage is a minimal message implementation that should not
// be ignored. In general, OS-specific implementations should use better
// types and avoid this if they can.
type unspecifiedMessage struct{}
func (unspecifiedMessage) ignore() bool { return false }
// osMon is the interface that each operating system-specific
// implementation of the link monitor must implement.
type osMon interface {