libnet: remove drivers_freebsd.go

As it stands, libnetwork pkg can't be compiled on FreeBSD, so no need to
keep this file around.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
This commit is contained in:
Albin Kerouanton
2025-08-30 10:42:23 +02:00
parent 4ea085187a
commit 1470048e00
2 changed files with 1 additions and 11 deletions

View File

@@ -1,10 +0,0 @@
package libnetwork
import (
"github.com/moby/moby/v2/daemon/libnetwork/driverapi"
"github.com/moby/moby/v2/daemon/libnetwork/drivers/null"
)
func registerNetworkDrivers(r driverapi.Registerer, driverConfig func(string) map[string]any) error {
return null.Register(r)
}

View File

@@ -1,4 +1,4 @@
//go:build !freebsd && !linux && !windows
//go:build !linux && !windows
package libnetwork