diff options
author | Jesse Gross <jesse@nicira.com> | 2011-11-01 15:35:31 -0700 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2011-11-02 16:00:11 -0700 |
commit | a7d7f493ba47b1986857b57103f75dccf65d548a (patch) | |
tree | ca9fdc43274d6a592bf9e70babee7a683f27bb29 | |
parent | 515c382dafb3cc0f0499f477eddc0566602210cf (diff) |
datapath: Drop useless WARN_ON_ONCE during flow conversion.
This checks whether key_len is not zero but we set the key length
at the beginning of the function, so I don't see this as a useful
check.
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
-rw-r--r-- | datapath/flow.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/datapath/flow.c b/datapath/flow.c index 95297a52..9e0b842e 100644 --- a/datapath/flow.c +++ b/datapath/flow.c @@ -1143,7 +1143,6 @@ invalid: error = -EINVAL; ok: - WARN_ON_ONCE(!key_len && !error); *key_lenp = key_len; return error; } |