diff --git a/features/netsocket/TCPSocket.h b/features/netsocket/TCPSocket.h index 3bbed020bf..7749f671e6 100644 --- a/features/netsocket/TCPSocket.h +++ b/features/netsocket/TCPSocket.h @@ -37,25 +37,6 @@ public: */ TCPSocket(); - /** Create a socket on a network interface - * - * Creates and opens a socket on the network stack of the given - * network interface. - * - * @param stack Network stack as target for socket - * - * @deprecated since mbed-os-5.11 - */ - template - MBED_DEPRECATED_SINCE("mbed-os-5.11", - "The TCPSocket(S *stack) constructor is deprecated." - "It discards the open() call return value." - "Use another constructor and call open() explicitly, instead.") - TCPSocket(S *stack) : TCPSocket() - { - open(stack); - } - /** Override multicast functions to return error for TCP * */