diff --git a/daemon/execdriver/lxc/lxc_init_linux.go b/daemon/execdriver/lxc/lxc_init_linux.go index 92c96cc30e..9f294f6458 100644 --- a/daemon/execdriver/lxc/lxc_init_linux.go +++ b/daemon/execdriver/lxc/lxc_init_linux.go @@ -1,5 +1,3 @@ -// +build amd64 - package lxc import ( diff --git a/daemon/execdriver/lxc/lxc_init_unsupported.go b/daemon/execdriver/lxc/lxc_init_unsupported.go index 8311ba6e24..b3f2ae68eb 100644 --- a/daemon/execdriver/lxc/lxc_init_unsupported.go +++ b/daemon/execdriver/lxc/lxc_init_unsupported.go @@ -1,4 +1,4 @@ -// +build !linux !amd64 +// +build !linux package lxc diff --git a/daemon/graphdriver/aufs/mount_linux.go b/daemon/graphdriver/aufs/mount_linux.go index 6082d9f240..c86f1bbd63 100644 --- a/daemon/graphdriver/aufs/mount_linux.go +++ b/daemon/graphdriver/aufs/mount_linux.go @@ -1,5 +1,3 @@ -// +build amd64 - package aufs import "syscall" diff --git a/daemon/graphdriver/aufs/mount_unsupported.go b/daemon/graphdriver/aufs/mount_unsupported.go index 2735624112..e291bef3aa 100644 --- a/daemon/graphdriver/aufs/mount_unsupported.go +++ b/daemon/graphdriver/aufs/mount_unsupported.go @@ -1,4 +1,4 @@ -// +build !linux !amd64 +// +build !linux package aufs diff --git a/daemon/graphdriver/btrfs/btrfs.go b/daemon/graphdriver/btrfs/btrfs.go index afca72029f..c491fd7908 100644 --- a/daemon/graphdriver/btrfs/btrfs.go +++ b/daemon/graphdriver/btrfs/btrfs.go @@ -1,4 +1,4 @@ -// +build linux,amd64 +// +build linux package btrfs diff --git a/daemon/graphdriver/btrfs/dummy_unsupported.go b/daemon/graphdriver/btrfs/dummy_unsupported.go index 6c44615763..f07088887a 100644 --- a/daemon/graphdriver/btrfs/dummy_unsupported.go +++ b/daemon/graphdriver/btrfs/dummy_unsupported.go @@ -1,3 +1,3 @@ -// +build !linux !amd64 +// +build !linux !cgo package btrfs diff --git a/daemon/graphdriver/devmapper/attach_loopback.go b/daemon/graphdriver/devmapper/attach_loopback.go index 8dc57f8b4b..c3e8f2820c 100644 --- a/daemon/graphdriver/devmapper/attach_loopback.go +++ b/daemon/graphdriver/devmapper/attach_loopback.go @@ -1,4 +1,4 @@ -// +build linux,amd64 +// +build linux package devmapper diff --git a/daemon/graphdriver/devmapper/deviceset.go b/daemon/graphdriver/devmapper/deviceset.go index 1aef141ca8..cd12179e56 100644 --- a/daemon/graphdriver/devmapper/deviceset.go +++ b/daemon/graphdriver/devmapper/deviceset.go @@ -1,4 +1,4 @@ -// +build linux,amd64 +// +build linux package devmapper diff --git a/daemon/graphdriver/devmapper/devmapper.go b/daemon/graphdriver/devmapper/devmapper.go index ab327f61b9..2c5abc9d27 100644 --- a/daemon/graphdriver/devmapper/devmapper.go +++ b/daemon/graphdriver/devmapper/devmapper.go @@ -1,4 +1,4 @@ -// +build linux,amd64 +// +build linux package devmapper diff --git a/daemon/graphdriver/devmapper/devmapper_log.go b/daemon/graphdriver/devmapper/devmapper_log.go index cdeaed2525..ec7809cc51 100644 --- a/daemon/graphdriver/devmapper/devmapper_log.go +++ b/daemon/graphdriver/devmapper/devmapper_log.go @@ -1,4 +1,4 @@ -// +build linux,amd64 +// +build linux package devmapper diff --git a/daemon/graphdriver/devmapper/devmapper_test.go b/daemon/graphdriver/devmapper/devmapper_test.go index 4ed44cf729..167261999e 100644 --- a/daemon/graphdriver/devmapper/devmapper_test.go +++ b/daemon/graphdriver/devmapper/devmapper_test.go @@ -1,4 +1,4 @@ -// +build linux,amd64 +// +build linux package devmapper diff --git a/daemon/graphdriver/devmapper/devmapper_wrapper.go b/daemon/graphdriver/devmapper/devmapper_wrapper.go index 9f1b5a6054..bd1c6fd5b6 100644 --- a/daemon/graphdriver/devmapper/devmapper_wrapper.go +++ b/daemon/graphdriver/devmapper/devmapper_wrapper.go @@ -1,4 +1,4 @@ -// +build linux,amd64 +// +build linux package devmapper diff --git a/daemon/graphdriver/devmapper/driver.go b/daemon/graphdriver/devmapper/driver.go index bbe3c92695..c6b2e2b712 100644 --- a/daemon/graphdriver/devmapper/driver.go +++ b/daemon/graphdriver/devmapper/driver.go @@ -1,4 +1,4 @@ -// +build linux,amd64 +// +build linux package devmapper diff --git a/daemon/graphdriver/devmapper/ioctl.go b/daemon/graphdriver/devmapper/ioctl.go index 8f403da2b0..29caab0664 100644 --- a/daemon/graphdriver/devmapper/ioctl.go +++ b/daemon/graphdriver/devmapper/ioctl.go @@ -1,4 +1,4 @@ -// +build linux,amd64 +// +build linux package devmapper diff --git a/daemon/graphdriver/devmapper/mount.go b/daemon/graphdriver/devmapper/mount.go index c9ff216d5d..f64e995744 100644 --- a/daemon/graphdriver/devmapper/mount.go +++ b/daemon/graphdriver/devmapper/mount.go @@ -1,4 +1,4 @@ -// +build linux,amd64 +// +build linux package devmapper diff --git a/pkg/mount/flags_linux.go b/pkg/mount/flags_linux.go index 19c882fcd8..0bb47d8c90 100644 --- a/pkg/mount/flags_linux.go +++ b/pkg/mount/flags_linux.go @@ -1,5 +1,3 @@ -// +build amd64 - package mount import ( diff --git a/pkg/mount/flags_unsupported.go b/pkg/mount/flags_unsupported.go index e598354151..5a14108880 100644 --- a/pkg/mount/flags_unsupported.go +++ b/pkg/mount/flags_unsupported.go @@ -1,4 +1,4 @@ -// +build !linux,!freebsd linux,!amd64 freebsd,!cgo +// +build !linux,!freebsd freebsd,!cgo package mount diff --git a/pkg/mount/mounter_linux.go b/pkg/mount/mounter_linux.go index 70b7798de5..dd4280c777 100644 --- a/pkg/mount/mounter_linux.go +++ b/pkg/mount/mounter_linux.go @@ -1,5 +1,3 @@ -// +build amd64 - package mount import ( diff --git a/pkg/mount/mounter_unsupported.go b/pkg/mount/mounter_unsupported.go index 06f2ac00b2..eb93365eb7 100644 --- a/pkg/mount/mounter_unsupported.go +++ b/pkg/mount/mounter_unsupported.go @@ -1,4 +1,4 @@ -// +build !linux,!freebsd linux,!amd64 freebsd,!cgo +// +build !linux,!freebsd freebsd,!cgo package mount diff --git a/pkg/parsers/kernel/uname_linux.go b/pkg/parsers/kernel/uname_linux.go index b29fcc3785..8ca814c1fb 100644 --- a/pkg/parsers/kernel/uname_linux.go +++ b/pkg/parsers/kernel/uname_linux.go @@ -1,5 +1,3 @@ -// +build amd64 - package kernel import ( diff --git a/pkg/parsers/kernel/uname_unsupported.go b/pkg/parsers/kernel/uname_unsupported.go index 9cd8a1eb5e..00c5422589 100644 --- a/pkg/parsers/kernel/uname_unsupported.go +++ b/pkg/parsers/kernel/uname_unsupported.go @@ -1,4 +1,4 @@ -// +build !linux !amd64 +// +build !linux package kernel