Browse code

Remove redundant build-tags

Files that are suffixed with `_linux.go` or `_windows.go` are
already only built on Linux / Windows, so these build-tags
were redundant.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2017/12/19 01:41:53
Showing 41 changed files
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package main
4 2
 
5 3
 import systemdDaemon "github.com/coreos/go-systemd/daemon"
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package container
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package daemon
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package daemon
4 2
 
5 3
 func configsSupported() bool {
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package daemon
4 2
 
5 3
 func configsSupported() bool {
... ...
@@ -1,5 +1,3 @@
1
-//+build windows
2
-
3 1
 package daemon
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package graphdriver
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package vfs
4 2
 
5 3
 import "github.com/docker/docker/daemon/graphdriver/copy"
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package vfs
4 2
 
5 3
 import "github.com/docker/docker/daemon/graphdriver/quota"
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package initlayer
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package gcplogs
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package daemon
4 2
 
5 3
 func secretsSupported() bool {
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package daemon
4 2
 
5 3
 func secretsSupported() bool {
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package daemon
4 2
 
5 3
 import "github.com/opencontainers/selinux/go-selinux"
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package stats
4 2
 
5 3
 // platformNewStatsCollector performs platform specific initialisation of the
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package daemon
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package distribution
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package opts
4 2
 
5 3
 // DefaultHost constant defines the default host string used by docker on Windows
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package archive
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package directory
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package dmesg
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package fsutils
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package homedir
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package idtools
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package ioutils
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package mount
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package mount
4 2
 
5 3
 // MakeShared ensures a mounted filesystem has the SHARED mount option enabled.
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package kernel
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package reexec
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package reexec
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package signal
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package sysinfo
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package sysinfo
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package sysinfo
4 2
 
5 3
 // New returns an empty SysInfo for windows for now.
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package system
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package system
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package system
4 2
 
5 3
 // Mknod is not implemented on Windows.
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package system
4 2
 
5 3
 // Umask is not supported on the windows platform.
... ...
@@ -1,5 +1,3 @@
1
-// +build windows
2
-
3 1
 package term
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package plugin
4 2
 
5 3
 import (
... ...
@@ -1,5 +1,3 @@
1
-// +build linux
2
-
3 1
 package v2
4 2
 
5 3
 import (