From: Jason A. Donenfeld Date: Sun, 20 May 2018 04:25:39 +0000 (+0200) Subject: Remove unused mtu variable X-Git-Tag: 0.0.20180524~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5fa3de24c03872c582718185c4b35737cdf13ea;p=thirdparty%2Fwireguard-go.git Remove unused mtu variable --- diff --git a/tun_darwin.go b/tun_darwin.go index 64e4780..a74dbac 100644 --- a/tun_darwin.go +++ b/tun_darwin.go @@ -40,7 +40,6 @@ type NativeTun struct { name string fd *os.File rwcancel *rwcancel.RWCancel - mtu int events chan TUNEvent errors chan error routeSocket int @@ -168,7 +167,6 @@ func CreateTUNFromFile(file *os.File) (TUNDevice, error) { tun := &NativeTun{ fd: file, - mtu: 1500, events: make(chan TUNEvent, 10), errors: make(chan error, 1), }