]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/TcpDxe/TcpMisc.c
NetworkPkg: Source fixes and cleanup for ARMGCC compiles
[mirror_edk2.git] / NetworkPkg / TcpDxe / TcpMisc.c
index 5394f7d1cadceff4f5bc0687a50fcaabd08d9836..0a4eda37c892225380be1fb753e5fd9ceb269340 100644 (file)
@@ -1,6 +1,7 @@
 /** @file\r
   Misc support routines for TCP driver.\r
 \r
+  (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>\r
   Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
@@ -428,7 +429,6 @@ TcpInsertTcb (
   LIST_ENTRY       *Entry;\r
   LIST_ENTRY       *Head;\r
   TCP_CB           *Node;\r
-  TCP_PROTO_DATA  *TcpProto;\r
 \r
   ASSERT (\r
     (Tcb != NULL) &&\r
@@ -466,7 +466,6 @@ TcpInsertTcb (
 \r
   InsertHeadList (Head, &Tcb->List);\r
 \r
-  TcpProto = (TCP_PROTO_DATA *) Tcb->Sk->ProtoReserved;\r
 \r
   return 0;\r
 }\r