From b86f6c92247bc453fff28956d0ef0420b8b96f21 Mon Sep 17 00:00:00 2001 From: ChaiShushan Date: Mon, 1 Jul 2013 21:20:42 -0400 Subject: [PATCH] net/rpc/jsonrpc: remove unused serverCodec.resp field R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/10458045 --- src/pkg/net/rpc/jsonrpc/server.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pkg/net/rpc/jsonrpc/server.go b/src/pkg/net/rpc/jsonrpc/server.go index 5bc05fd0a7..16ec0fe9ad 100644 --- a/src/pkg/net/rpc/jsonrpc/server.go +++ b/src/pkg/net/rpc/jsonrpc/server.go @@ -20,8 +20,7 @@ type serverCodec struct { c io.Closer // temporary work space - req serverRequest - resp serverResponse + req serverRequest // JSON-RPC clients can use arbitrary json values as request IDs. // Package rpc expects uint64 request IDs.