Remove unused variables in RtcEventAudioXStreamConfig::Copy()

Bug: None
Change-Id: I186bf14e568bbd3d6cf17731602a75d3ea9e4aed
Reviewed-on: https://webrtc-review.googlesource.com/c/111464
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25711}
diff --git a/logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.cc b/logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.cc
index 50d67ff..fdef393 100644
--- a/logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.cc
+++ b/logging/rtc_event_log/events/rtc_event_audio_receive_stream_config.cc
@@ -41,7 +41,6 @@
 
 std::unique_ptr<RtcEventAudioReceiveStreamConfig>
 RtcEventAudioReceiveStreamConfig::Copy() const {
-  auto config_copy = absl::make_unique<rtclog::StreamConfig>(*config_);
   return absl::WrapUnique<RtcEventAudioReceiveStreamConfig>(
       new RtcEventAudioReceiveStreamConfig(*this));
 }
diff --git a/logging/rtc_event_log/events/rtc_event_audio_send_stream_config.cc b/logging/rtc_event_log/events/rtc_event_audio_send_stream_config.cc
index 240e831..f1a85bf 100644
--- a/logging/rtc_event_log/events/rtc_event_audio_send_stream_config.cc
+++ b/logging/rtc_event_log/events/rtc_event_audio_send_stream_config.cc
@@ -41,7 +41,6 @@
 
 std::unique_ptr<RtcEventAudioSendStreamConfig>
 RtcEventAudioSendStreamConfig::Copy() const {
-  auto config_copy = absl::make_unique<rtclog::StreamConfig>(*config_);
   return absl::WrapUnique<RtcEventAudioSendStreamConfig>(
       new RtcEventAudioSendStreamConfig(*this));
 }