diff options
author | Craig Tiller <ctiller@google.com> | 2015-11-24 08:15:05 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-11-24 08:15:05 -0800 |
commit | 7b4356194d33c4582c487d0004ef17ea7b138839 (patch) | |
tree | 692e38436611711c51badf264d395dede1eb1e4f /src/core/surface/lame_client.c | |
parent | 906e3bcfb5a32a25af2f00dd4679052f8a608b3f (diff) |
Finish initial scrape, clang-format
Diffstat (limited to 'src/core/surface/lame_client.c')
-rw-r--r-- | src/core/surface/lame_client.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/surface/lame_client.c b/src/core/surface/lame_client.c index 4a55544ac1..a60e9d20da 100644 --- a/src/core/surface/lame_client.c +++ b/src/core/surface/lame_client.c @@ -49,7 +49,6 @@ typedef struct { } call_data; typedef struct { - grpc_channel *master; grpc_status_code error_code; const char *error_message; } channel_data; @@ -84,8 +83,7 @@ static void lame_start_transport_stream_op(grpc_exec_ctx *exec_ctx, } static char *lame_get_peer(grpc_exec_ctx *exec_ctx, grpc_call_element *elem) { - channel_data *chand = elem->channel_data; - return grpc_channel_get_target(chand->master); + return NULL; } static void lame_start_transport_op(grpc_exec_ctx *exec_ctx, @@ -111,10 +109,8 @@ static void destroy_call_elem(grpc_exec_ctx *exec_ctx, static void init_channel_elem(grpc_exec_ctx *exec_ctx, grpc_channel_element *elem, grpc_channel_element_args *args) { - channel_data *chand = elem->channel_data; GPR_ASSERT(args->is_first); GPR_ASSERT(args->is_last); - chand->master = args->master; } static void destroy_channel_elem(grpc_exec_ctx *exec_ctx, |