diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-15 22:57:43 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-02-15 22:57:43 -0800 |
commit | c52ba3a03f70454269ad65e1edf406cfcfb977fe (patch) | |
tree | 64c46413c9969f2e26a83089b0b10b8e08b6bf26 /src/core/lib/channel/compress_filter.c | |
parent | a25c9b4aa06d74dec0e7d5346c64b86191a1632c (diff) |
Hoist constant setting out of loop - and shave some ns from call creation
Diffstat (limited to 'src/core/lib/channel/compress_filter.c')
-rw-r--r-- | src/core/lib/channel/compress_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/channel/compress_filter.c b/src/core/lib/channel/compress_filter.c index c860d60d88..0027c44e8a 100644 --- a/src/core/lib/channel/compress_filter.c +++ b/src/core/lib/channel/compress_filter.c @@ -272,7 +272,7 @@ static void compress_start_transport_stream_op(grpc_exec_ctx *exec_ctx, /* Constructor for call_data */ static grpc_error *init_call_elem(grpc_exec_ctx *exec_ctx, grpc_call_element *elem, - grpc_call_element_args *args) { + const grpc_call_element_args *args) { /* grab pointers to our data from the call element */ call_data *calld = elem->call_data; |