mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:32:46 +00:00 
			
		
		
		
	Kernel: Remove dead TCPSocket::from_endpoints method
This commit is contained in:
		
							parent
							
								
									6387f65f87
								
							
						
					
					
						commit
						879eec6aa8
					
				
					 2 changed files with 0 additions and 7 deletions
				
			
		|  | @ -84,12 +84,6 @@ RefPtr<TCPSocket> TCPSocket::from_tuple(const IPv4SocketTuple& tuple) | ||||||
| 
 | 
 | ||||||
|     return {}; |     return {}; | ||||||
| } | } | ||||||
| 
 |  | ||||||
| RefPtr<TCPSocket> TCPSocket::from_endpoints(const IPv4Address& local_address, u16 local_port, const IPv4Address& peer_address, u16 peer_port) |  | ||||||
| { |  | ||||||
|     return from_tuple(IPv4SocketTuple(local_address, local_port, peer_address, peer_port)); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| RefPtr<TCPSocket> TCPSocket::create_client(const IPv4Address& new_local_address, u16 new_local_port, const IPv4Address& new_peer_address, u16 new_peer_port) | RefPtr<TCPSocket> TCPSocket::create_client(const IPv4Address& new_local_address, u16 new_local_port, const IPv4Address& new_peer_address, u16 new_peer_port) | ||||||
| { | { | ||||||
|     auto tuple = IPv4SocketTuple(new_local_address, new_local_port, new_peer_address, new_peer_port); |     auto tuple = IPv4SocketTuple(new_local_address, new_local_port, new_peer_address, new_peer_port); | ||||||
|  |  | ||||||
|  | @ -143,7 +143,6 @@ public: | ||||||
| 
 | 
 | ||||||
|     static Lockable<HashMap<IPv4SocketTuple, TCPSocket*>>& sockets_by_tuple(); |     static Lockable<HashMap<IPv4SocketTuple, TCPSocket*>>& sockets_by_tuple(); | ||||||
|     static RefPtr<TCPSocket> from_tuple(const IPv4SocketTuple& tuple); |     static RefPtr<TCPSocket> from_tuple(const IPv4SocketTuple& tuple); | ||||||
|     static RefPtr<TCPSocket> from_endpoints(const IPv4Address& local_address, u16 local_port, const IPv4Address& peer_address, u16 peer_port); |  | ||||||
| 
 | 
 | ||||||
|     static Lockable<HashMap<IPv4SocketTuple, RefPtr<TCPSocket>>>& closing_sockets(); |     static Lockable<HashMap<IPv4SocketTuple, RefPtr<TCPSocket>>>& closing_sockets(); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brian Gianforcaro
						Brian Gianforcaro