wgengine/monitor_freebsd.go: remove duplicated errcheck

Signed-off-by: disconnect3d <dominik.b.czarnota@gmail.com>
This commit is contained in:
Disconnect3d 2020-08-21 11:15:09 +02:00 committed by Brad Fitzpatrick
parent 9e2e8c80af
commit 44598e3e89

View File

@ -30,9 +30,6 @@ func newOSMon(logf logger.Logf) (osMon, error) {
if err != nil {
return nil, fmt.Errorf("devd dial error: %v", err)
}
if err != nil {
return nil, fmt.Errorf("dialing devd socket: %v", err)
}
return &devdConn{conn}, nil
}