Remove unused SignalConnectionCreated

Bug: webrtc:11943
Change-Id: I787f200c3506a70788537cc05bff4e938ed2136d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/258982
Auto-Submit: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36552}
This commit is contained in:
Tommi 2022-04-14 14:35:28 +02:00 committed by WebRTC LUCI CQ
parent 21f12d592a
commit 8f9b44ba38
2 changed files with 0 additions and 4 deletions

View File

@ -357,7 +357,6 @@ void Port::AddOrReplaceConnection(Connection* conn) {
ret.first->second = conn;
}
conn->SignalDestroyed.connect(this, &Port::OnConnectionDestroyed);
SignalConnectionCreated(this, conn);
}
void Port::OnReadPacket(const char* data,

View File

@ -293,9 +293,6 @@ class Port : public PortInterface,
// Returns the connection to the given address or NULL if none exists.
Connection* GetConnection(const rtc::SocketAddress& remote_addr) override;
// Called each time a connection is created.
sigslot::signal2<Port*, Connection*> SignalConnectionCreated;
// In a shared socket mode each port which shares the socket will decide
// to accept the packet based on the `remote_addr`. Currently only UDP
// port implemented this method.