aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/runtime/iface.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/runtime/iface.go b/src/runtime/iface.go
index 71bd2d2f07..79a49c0dff 100644
--- a/src/runtime/iface.go
+++ b/src/runtime/iface.go
@@ -214,16 +214,6 @@ imethods:
if ipkg == "" {
ipkg = inter.pkgpath.name()
}
- if iname == "==" {
- // Don't need '==' method right now (from comparable),
- // just fill in with a random pointer for now.
- if k == 0 {
- fun0 = unsafe.Pointer(m)
- } else {
- methods[k] = unsafe.Pointer(m)
- }
- continue imethods
- }
for ; j < nt; j++ {
t := &xmhdr[j]
tname := typ.nameOff(t.name)