Skip to content

Commit c37b7af

Browse files
committed
bpf2go: test: remove unused typesEqualComparer function
Signed-off-by: Timo Beckers <[email protected]>
1 parent 97cfce5 commit c37b7af

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cmd/bpf2go/gen/output_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"testing"
88

99
"github.com/go-quicktest/qt"
10-
"github.com/google/go-cmp/cmp"
1110

1211
"github.com/cilium/ebpf/btf"
1312
"github.com/cilium/ebpf/cmd/bpf2go/internal"
@@ -79,10 +78,6 @@ func TestPackageImport(t *testing.T) {
7978
qt.Assert(t, qt.StringContains(buf.String(), fmt.Sprintf(`"%s"`, internal.CurrentModule)))
8079
}
8180

82-
var typesEqualComparer = cmp.Comparer(func(a, b btf.Type) bool {
83-
return a == b
84-
})
85-
8681
func TestCustomIdentifier(t *testing.T) {
8782
var buf bytes.Buffer
8883
args := GenerateArgs{

0 commit comments

Comments
 (0)