git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d27b0f
)
examples/ip_pipeline: remove dead code in table command
author
Fan Zhang
<roy.fan.zhang@intel.com>
Mon, 16 Apr 2018 10:58:20 +0000
(11:58 +0100)
committer
Cristian Dumitrescu
<cristian.dumitrescu@intel.com>
Tue, 8 May 2018 11:16:10 +0000
(13:16 +0200)
Coverity issue: 272567
Fixes:
d75c371e9b46
("examples/ip_pipeline: add pipeline object")
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Reviewed-by: Jasvinder Singh <jasvinder.singh@intel.com>
examples/ip_pipeline/cli.c
patch
|
blob
|
history
diff --git
a/examples/ip_pipeline/cli.c
b/examples/ip_pipeline/cli.c
index
2f30a6d
..
c9587f5
100644
(file)
--- a/
examples/ip_pipeline/cli.c
+++ b/
examples/ip_pipeline/cli.c
@@
-1893,12
+1893,6
@@
cmd_pipeline_table(char **tokens,
t0 += 6;
} else if (strcmp(tokens[t0], "stub") == 0) {
- if (n_tokens < t0 + 1) {
- snprintf(out, out_size, MSG_ARG_MISMATCH,
- "pipeline table stub");
- return;
- }
-
p.match_type = TABLE_STUB;
t0 += 1;