diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-07-28 20:12:00 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-07-28 20:12:00 +0900 |
commit | 70251f7175f1b30a9ed58d240b7e04419c91d601 (patch) | |
tree | f81b5c0df2939dee98908e96dbcd78fd0dd16db8 /server | |
parent | ddab3219ca19c2f577a9b0c334e591bd7e47a55a (diff) |
remove unused grpc helper function
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server')
-rw-r--r-- | server/server.go | 8 |
1 files changed, 0 insertions, 8 deletions
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 }() |