[ovs-dev] [PATCH v2 02/19] ofp-parse: Remove unused F_OUT_PORT field flag.
Jarno Rajahalme
jrajahalme at nicira.com
Mon May 18 23:10:11 UTC 2015
Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
---
lib/ofp-parse.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/lib/ofp-parse.c b/lib/ofp-parse.c
index 856044d..126980c 100644
--- a/lib/ofp-parse.c
+++ b/lib/ofp-parse.c
@@ -245,7 +245,6 @@ parse_ofp_str__(struct ofputil_flow_mod *fm, int command, char *string,
enum ofputil_protocol *usable_protocols)
{
enum {
- F_OUT_PORT = 1 << 0,
F_ACTIONS = 1 << 1,
F_IMPORTANCE = 1 << 2,
F_TIMEOUT = 1 << 3,
@@ -260,7 +259,7 @@ parse_ofp_str__(struct ofputil_flow_mod *fm, int command, char *string,
switch (command) {
case -1:
- fields = F_OUT_PORT;
+ fields = 0;
break;
case OFPFC_ADD:
@@ -268,11 +267,11 @@ parse_ofp_str__(struct ofputil_flow_mod *fm, int command, char *string,
break;
case OFPFC_DELETE:
- fields = F_OUT_PORT;
+ fields = 0;
break;
case OFPFC_DELETE_STRICT:
- fields = F_OUT_PORT | F_PRIORITY;
+ fields = F_PRIORITY;
break;
case OFPFC_MODIFY:
--
1.7.10.4
More information about the dev
mailing list