diff options
-rw-r--r-- | MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c | 3 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c | 3 | ||||
-rw-r--r-- | NetworkPkg/TcpDxe/TcpDispatcher.c | 2 |
4 files changed, 2 insertions, 8 deletions
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c index e09d2c9..b6d89be 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c @@ -216,12 +216,10 @@ Tcp4FlushPcb ( )
{
SOCKET *Sock;
- TCP4_PROTO_DATA *TcpProto;
IpIoConfigIp (Tcb->IpInfo, NULL);
Sock = Tcb->Sk;
- TcpProto = (TCP4_PROTO_DATA *) Sock->ProtoReserved;
if (SOCK_IS_CONFIGURED (Sock)) {
RemoveEntryList (&Tcb->List);
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c index 5b18d20..3702bea 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Misc.c @@ -356,7 +356,6 @@ TcpInsertTcb ( LIST_ENTRY *Entry;
LIST_ENTRY *Head;
TCP_CB *Node;
- TCP4_PROTO_DATA *TcpProto;
ASSERT (
(Tcb != NULL) &&
@@ -391,8 +390,6 @@ TcpInsertTcb ( InsertHeadList (Head, &Tcb->List);
- TcpProto = (TCP4_PROTO_DATA *) Tcb->Sk->ProtoReserved;
-
return 0;
}
diff --git a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c index ce952b1..4f077d6 100644 --- a/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c +++ b/MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Impl.c @@ -1894,4 +1894,5 @@ Udp4NetVectorExtFree ( VOID *Context
)
{
-}
\ No newline at end of file +}
+
diff --git a/NetworkPkg/TcpDxe/TcpDispatcher.c b/NetworkPkg/TcpDxe/TcpDispatcher.c index 9fe93f6..7b3d14d 100644 --- a/NetworkPkg/TcpDxe/TcpDispatcher.c +++ b/NetworkPkg/TcpDxe/TcpDispatcher.c @@ -304,12 +304,10 @@ TcpFlushPcb ( )
{
SOCKET *Sock;
- TCP_PROTO_DATA *TcpProto;
IpIoConfigIp (Tcb->IpInfo, NULL);
Sock = Tcb->Sk;
- TcpProto = (TCP_PROTO_DATA *) Sock->ProtoReserved;
if (SOCK_IS_CONFIGURED (Sock)) {
RemoveEntryList (&Tcb->List);
|