diff options
author | Songpeng Li <songpeng.li@intel.com> | 2018-08-16 08:58:04 +0800 |
---|---|---|
committer | Jiaxin Wu <Jiaxin.wu@intel.com> | 2018-08-23 16:30:46 +0800 |
commit | 8343c750240520d6eb381e688069d39b289cb144 (patch) | |
tree | 8e295e8ea1eefe753ca528b664dd466e0920515d /NetworkPkg/TcpDxe/TcpOption.h | |
parent | ad1e45ddb54f4d416ba465ee36b51c88e5c4dfca (diff) | |
download | edk2-8343c750240520d6eb381e688069d39b289cb144.zip edk2-8343c750240520d6eb381e688069d39b289cb144.tar.gz edk2-8343c750240520d6eb381e688069d39b289cb144.tar.bz2 |
NetworkPkg: TcpDxe: Remove the redundant code.
The function TcpPawsOK that is never called have been removed.
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1064
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Songpeng Li <songpeng.li@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'NetworkPkg/TcpDxe/TcpOption.h')
-rw-r--r-- | NetworkPkg/TcpDxe/TcpOption.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/NetworkPkg/TcpDxe/TcpOption.h b/NetworkPkg/TcpDxe/TcpOption.h index 0ccadb9..e50fb9b 100644 --- a/NetworkPkg/TcpDxe/TcpOption.h +++ b/NetworkPkg/TcpDxe/TcpOption.h @@ -1,7 +1,7 @@ /** @file
Tcp option's routine header file.
- Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -126,20 +126,4 @@ TcpParseOption ( IN OUT TCP_OPTION *Option
);
-/**
- Check the segment against PAWS.
-
- @param[in] Tcb Pointer to the TCP_CB of this TCP instance.
- @param[in] TSVal The timestamp value.
-
- @retval 1 The segment passed the PAWS check.
- @retval 0 The segment failed to pass the PAWS check.
-
-**/
-UINT32
-TcpPawsOK (
- IN TCP_CB *Tcb,
- IN UINT32 TSVal
- );
-
#endif
|