diff options
author | Olivier Martin <olivier.martin@arm.com> | 2014-05-15 01:13:05 +0000 |
---|---|---|
committer | sfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-05-15 01:13:05 +0000 |
commit | 129ff94661bd3a6c759b1e154c143d0136bedc7d (patch) | |
tree | 63fe437c0b2d8b87fcc09d7ebfebd1f523095cd2 /MdeModulePkg | |
parent | 36d66acf275135699fea9243e58e25990ab0db7f (diff) | |
download | edk2-platforms-129ff94661bd3a6c759b1e154c143d0136bedc7d.tar.xz |
Fix some build issues (ARM toolchain).
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Fu, Siyuan <siyuan.fu@intel.com>
Reviewed-by: Wu, Jiaxin <jiaxin.wu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15533 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-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 |
3 files changed, 2 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c index e09d2c9e57..b6d89be2b1 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 5b18d20497..3702bead50 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 ce952b1e2d..4f077d6b96 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 +}
+
|