[ovs-dev] [PATCH] datapath-windows: Cleanup unused variables

Alin Serdean aserdean at cloudbasesolutions.com
Fri Dec 11 17:32:41 UTC 2015


This patch removes unused variables defined in stt and vxlan ports.

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
---
 datapath-windows/ovsext/Stt.h   | 5 -----
 datapath-windows/ovsext/Vxlan.h | 4 ----
 2 files changed, 9 deletions(-)

diff --git a/datapath-windows/ovsext/Stt.h b/datapath-windows/ovsext/Stt.h
index 9a45379..a3e3915 100644
--- a/datapath-windows/ovsext/Stt.h
+++ b/datapath-windows/ovsext/Stt.h
@@ -56,11 +56,6 @@ typedef struct _OVS_STT_VPORT {
     UINT16 dstPort;
     UINT64 ackNo;
     UINT64 ipId;
-
-    UINT64 inPkts;
-    UINT64 outPkts;
-    UINT64 slowInPkts;
-    UINT64 slowOutPkts;
 } OVS_STT_VPORT, *POVS_STT_VPORT;
 
 typedef struct _OVS_STT_PKT_KEY {
diff --git a/datapath-windows/ovsext/Vxlan.h b/datapath-windows/ovsext/Vxlan.h
index a05834d..b9462f0 100644
--- a/datapath-windows/ovsext/Vxlan.h
+++ b/datapath-windows/ovsext/Vxlan.h
@@ -20,10 +20,6 @@
 #include "NetProto.h"
 typedef struct _OVS_VXLAN_VPORT {
     UINT16 dstPort;
-    UINT64 inPkts;
-    UINT64 outPkts;
-    UINT64 slowInPkts;
-    UINT64 slowOutPkts;
     UINT64 filterID;
     UINT64 ipId;
     /*
-- 
1.9.5.msysgit.0



More information about the dev mailing list