summaryrefslogtreecommitdiffhomepage
path: root/pkg/urpc
diff options
context:
space:
mode:
authorIan Gudger <igudger@google.com>2018-05-05 01:21:46 -0700
committerShentubot <shentubot@google.com>2018-05-05 01:22:23 -0700
commitf0a17bf9103be7127588ce016ff5b0ab367ce5e7 (patch)
tree4a7986ec09c913b807b1490140b06534561cea76 /pkg/urpc
parentebae2191622122a9d2fb321be65089bbb228a1e6 (diff)
Remove dead code in urpc
PiperOrigin-RevId: 195525267 Change-Id: I7a5ef31365cb0c55c462deb9bdbec092473ebc6b
Diffstat (limited to 'pkg/urpc')
-rw-r--r--pkg/urpc/urpc.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/urpc/urpc.go b/pkg/urpc/urpc.go
index adf643084..0f2b5ccce 100644
--- a/pkg/urpc/urpc.go
+++ b/pkg/urpc/urpc.go
@@ -332,9 +332,6 @@ func (s *Server) clientBeginRequest(client *unet.Socket) bool {
// Should not happen.
panic(fmt.Sprintf("expected idle or closed, got %d", state))
}
-
- // Unreachable.
- return false
}
// clientEndRequest ends a request.