summaryrefslogtreecommitdiff
path: root/NetworkPkg
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2014-05-15 01:13:05 +0000
committersfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>2014-05-15 01:13:05 +0000
commit129ff94661bd3a6c759b1e154c143d0136bedc7d (patch)
tree63fe437c0b2d8b87fcc09d7ebfebd1f523095cd2 /NetworkPkg
parent36d66acf275135699fea9243e58e25990ab0db7f (diff)
downloadedk2-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 'NetworkPkg')
-rw-r--r--NetworkPkg/TcpDxe/TcpDispatcher.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/NetworkPkg/TcpDxe/TcpDispatcher.c b/NetworkPkg/TcpDxe/TcpDispatcher.c
index 9fe93f6e8b..7b3d14dace 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);