diff --git a/src/pkg/net/rpc/server.go b/src/pkg/net/rpc/server.go index 6cfda7c809b..253ad23fe3e 100644 --- a/src/pkg/net/rpc/server.go +++ b/src/pkg/net/rpc/server.go @@ -258,7 +258,6 @@ func (server *Server) register(rcvr interface{}, name string, useName bool) erro return errors.New("rpc: service already defined: " + sname) } s.name = sname - s.method = make(map[string]*methodType) // Install the methods s.method = suitableMethods(s.typ, true)