diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-06-17 17:26:53 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-06-17 17:26:53 -0700 |
commit | 2652b4d32108a5bfe4f6b64cca8d1bf0f9cd9903 (patch) | |
tree | 93e38ce90e4983428ee202ade2f3d335bdbaae65 /src/core | |
parent | ad59999b6bd649d10f567bc923e056eb493295a8 (diff) |
Docs, formatting
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/channel/child_channel.c | 3 | ||||
-rw-r--r-- | src/core/channel/client_setup.c | 6 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/core/channel/child_channel.c b/src/core/channel/child_channel.c index d3e6af7287..6690265d75 100644 --- a/src/core/channel/child_channel.c +++ b/src/core/channel/child_channel.c @@ -158,11 +158,8 @@ static void lb_destroy_channel_elem(grpc_channel_element *elem) { const grpc_channel_filter grpc_child_channel_top_filter = { lb_start_transport_op, lb_channel_op, - sizeof(lb_call_data), lb_init_call_elem, lb_destroy_call_elem, - sizeof(lb_channel_data), lb_init_channel_elem, lb_destroy_channel_elem, - "child-channel", }; diff --git a/src/core/channel/client_setup.c b/src/core/channel/client_setup.c index a804a4712c..d27645feca 100644 --- a/src/core/channel/client_setup.c +++ b/src/core/channel/client_setup.c @@ -117,25 +117,23 @@ static void setup_initiate(grpc_transport_setup *sp) { } } +/** implementation of add_interested_party for setup vtable */ static void setup_add_interested_party(grpc_transport_setup *sp, grpc_pollset *pollset) { grpc_client_setup *s = (grpc_client_setup *)sp; gpr_mu_lock(&s->mu); - grpc_pollset_set_add_pollset(&s->interested_parties, pollset); - gpr_mu_unlock(&s->mu); } +/** implementation of del_interested_party for setup vtable */ static void setup_del_interested_party(grpc_transport_setup *sp, grpc_pollset *pollset) { grpc_client_setup *s = (grpc_client_setup *)sp; gpr_mu_lock(&s->mu); - grpc_pollset_set_del_pollset(&s->interested_parties, pollset); - gpr_mu_unlock(&s->mu); } |