From 83b4c9ebc87d0fddf4e638f13e3af1483912e3a5 Mon Sep 17 00:00:00 2001 From: Terin Stock Date: Tue, 26 Apr 2022 20:30:25 -0700 Subject: [chore] remove vendor --- .../golang.org/x/net/internal/socket/msghdr_bsdvar.go | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 vendor/golang.org/x/net/internal/socket/msghdr_bsdvar.go (limited to 'vendor/golang.org/x/net/internal/socket/msghdr_bsdvar.go') diff --git a/vendor/golang.org/x/net/internal/socket/msghdr_bsdvar.go b/vendor/golang.org/x/net/internal/socket/msghdr_bsdvar.go deleted file mode 100644 index 5b8e00f1c..000000000 --- a/vendor/golang.org/x/net/internal/socket/msghdr_bsdvar.go +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2017 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build aix || darwin || dragonfly || freebsd || netbsd -// +build aix darwin dragonfly freebsd netbsd - -package socket - -func (h *msghdr) setIov(vs []iovec) { - l := len(vs) - if l == 0 { - return - } - h.Iov = &vs[0] - h.Iovlen = int32(l) -} -- cgit v1.2.3