From 0267bd0f19dae81b612e281371a43ff225ef9a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Noack?= Date: Fri, 19 Jan 2024 21:56:36 +0100 Subject: [PATCH] Remove unused AccessNetSet.union --- landlock/accessnet.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/landlock/accessnet.go b/landlock/accessnet.go index c2a4faf..7dc4d9c 100644 --- a/landlock/accessnet.go +++ b/landlock/accessnet.go @@ -22,10 +22,6 @@ func (a AccessNetSet) intersect(b AccessNetSet) AccessNetSet { return a & b } -func (a AccessNetSet) union(b AccessNetSet) AccessNetSet { - return a | b -} - func (a AccessNetSet) isEmpty() bool { return a == 0 }