From: Fan Zhang Subject: [PATCH] examples/ip_pipeline: fix logically dead node Date: Mon, 16 Apr 2018 11:58:20 +0100 Message-ID: <20180416105820.66064-1-roy.fan.zhang@intel.com> Cc: cristian.dumitrescu@intel.com, jasvinder.singh@intel.com To: dev@dpdk.org Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 479021B017 for ; Mon, 16 Apr 2018 13:05:55 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Coverity issue: 272567 Fixes: d75c371e9b46 ("examples/ip_pipeline: add pipeline object") Signed-off-by: Fan Zhang --- examples/ip_pipeline/cli.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/ip_pipeline/cli.c b/examples/ip_pipeline/cli.c index 199a31ff8..6c07ca223 100644 --- a/examples/ip_pipeline/cli.c +++ b/examples/ip_pipeline/cli.c @@ -1890,12 +1890,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; -- 2.13.6