Skip to content

Commit

Permalink
Remove redundant build tags
Browse files Browse the repository at this point in the history
Remove build tags which are already implied by the name of the file.
Ensures build tags are used consistently

Signed-off-by: Derek McGowan <derek@mcg.dev>
  • Loading branch information
dmcgowan committed Aug 6, 2021
1 parent b43d950 commit 6f027e3
Show file tree
Hide file tree
Showing 60 changed files with 0 additions and 120 deletions.
2 changes: 0 additions & 2 deletions archive/tar_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build freebsd

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions archive/tar_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions archive/tar_opts_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions archive/tar_opts_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions archive/tar_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions cio/io_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions cmd/containerd-shim/shim_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build darwin

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions cmd/containerd-shim/shim_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build freebsd

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions cmd/containerd-stress/rlimit_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build freebsd

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions cmd/containerd-stress/rlimit_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions cmd/containerd/builtins_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions cmd/containerd/command/notify_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions cmd/ctr/commands/commands_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions defaults/defaults_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build darwin

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions defaults/defaults_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions diff/apply/apply_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions diff/apply/apply_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions diff/stream_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions integration/client/container_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions integration/client/helpers_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions integration/remote/util/util_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions integration/util/boottime_util_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build darwin

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions integration/util/util_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions mount/lookup_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions mount/losetup_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions mount/mount_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build freebsd

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions mount/mount_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions oci/spec_opts_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions oci/spec_opts_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions oci/spec_opts_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/apparmor/apparmor_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/cri/config/config_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/cri/io/helpers_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/cri/opts/spec_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/cri/server/container_create_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/cri/server/container_create_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/cri/server/container_stats_list_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/cri/server/container_update_resources_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/cri/server/helpers_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/cri/server/sandbox_portforward_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/cri/server/sandbox_run_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/cri/server/sandbox_run_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/cri/server/service_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions pkg/netns/netns_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions platforms/defaults_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions platforms/defaults_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions remotes/docker/config/config_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions runtime/v1/shim/client/client_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions runtime/v2/logging/logging_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions runtime/v2/manager_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.
Expand Down
2 changes: 0 additions & 2 deletions runtime/v2/shim/shim_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build darwin

/*
Copyright The containerd Authors.

Expand Down
2 changes: 0 additions & 2 deletions runtime/v2/shim/shim_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build freebsd

/*
Copyright The containerd Authors.

Expand Down
2 changes: 0 additions & 2 deletions runtime/v2/shim/shim_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.

Expand Down
2 changes: 0 additions & 2 deletions services/diff/service_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.

Expand Down
2 changes: 0 additions & 2 deletions services/server/server_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.

Expand Down
2 changes: 0 additions & 2 deletions services/tasks/local_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build freebsd

/*
Copyright The containerd Authors.

Expand Down
2 changes: 0 additions & 2 deletions services/tasks/local_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.

Expand Down
2 changes: 0 additions & 2 deletions snapshots/native/native_freebsd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build freebsd

/*
Copyright The containerd Authors.

Expand Down
2 changes: 0 additions & 2 deletions sys/filesys_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.

Expand Down
2 changes: 0 additions & 2 deletions sys/socket_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

/*
Copyright The containerd Authors.

Expand Down

0 comments on commit 6f027e3

Please sign in to comment.