summaryrefslogtreecommitdiff
path: root/examples/ip_pipeline/cli.c
diff options
context:
space:
mode:
authorFan Zhang <roy.fan.zhang@intel.com>2018-04-16 11:58:20 +0100
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>2018-05-08 13:16:10 +0200
commit61e41fb6e790de3899a48fcc54f7c9edd20f3a64 (patch)
treec3645278badc756171901b5bf44eb18dcaa93bb4 /examples/ip_pipeline/cli.c
parent1d27b0f2c2346f9d8065706736848f16bb9f2c49 (diff)
downloaddpdk-61e41fb6e790de3899a48fcc54f7c9edd20f3a64.zip
dpdk-61e41fb6e790de3899a48fcc54f7c9edd20f3a64.tar.gz
dpdk-61e41fb6e790de3899a48fcc54f7c9edd20f3a64.tar.xz
examples/ip_pipeline: remove dead code in table command
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>
Diffstat (limited to 'examples/ip_pipeline/cli.c')
-rw-r--r--examples/ip_pipeline/cli.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/ip_pipeline/cli.c b/examples/ip_pipeline/cli.c
index 2f30a6d..c9587f5 100644
--- 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;