From 219f6506b758627ffe21298e3eea57536b867bb2 Mon Sep 17 00:00:00 2001 From: Yijie Ma Date: Wed, 8 Feb 2023 23:00:26 -0800 Subject: [PATCH] [codehealth] Remove a duplicate GRPC_CLOSURE_INIT (#32331) --- .../client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc b/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc index 4d25c4d3e76..5f89193c128 100644 --- a/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +++ b/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc @@ -454,8 +454,6 @@ static void grpc_ares_notify_on_event_locked(grpc_ares_ev_driver* ev_driver) ev_driver->request, fdn->grpc_polled_fd->GetName()); grpc_ares_ev_driver_ref(ev_driver); - GRPC_CLOSURE_INIT(&fdn->write_closure, on_writable, fdn, - grpc_schedule_on_exec_ctx); GRPC_CLOSURE_INIT(&fdn->write_closure, on_writable, fdn, grpc_schedule_on_exec_ctx); fdn->grpc_polled_fd->RegisterForOnWriteableLocked(