From 70251f7175f1b30a9ed58d240b7e04419c91d601 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Thu, 28 Jul 2016 20:12:00 +0900 Subject: remove unused grpc helper function Signed-off-by: FUJITA Tomonori --- server/server.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'server/server.go') diff --git a/server/server.go b/server/server.go index bad4c760..4caa38b2 100644 --- a/server/server.go +++ b/server/server.go @@ -2572,14 +2572,6 @@ func (s *BgpServer) ReplacePolicyAssignment(name string, dir table.PolicyDirecti return err } -func grpcDone(grpcReq *GrpcRequest, e error) { - result := &GrpcResponse{ - ResponseErr: e, - } - grpcReq.ResponseCh <- result - close(grpcReq.ResponseCh) -} - func (s *BgpServer) EnableMrt(c *config.Mrt) (err error) { ch := make(chan struct{}) defer func() { <-ch }() -- cgit v1.2.3