> -----Original Message-----
> From: Jastrzebski, MichalX K
> Sent: Friday, September 29, 2017 8:57 PM
> To: Wu, Jingjing <jingjing...@intel.com>
> Cc: dev@dpdk.org; Jain, Deepak K <deepak.k.j...@intel.com>; Kulasek, TomaszX
> <tomaszx.kula...@intel.com>; Chilikin, Andrey <andrey.chili...@intel.com>;
> sta...@dpdk.org
> Subject: [PATCH] app/testpmd: fix runtime dead code
>
> From: Tomasz Kulasek <tomaszx.kula...@intel.com>
>
> Coverity reports DEADCODE, as assumes that RTE_LIBRTE_I40E_PMD
> is defined and function compiles entirely.
> The fix is about to place printf function into #else branch
> of conditional compilation, since it is known at compile
> time if i40e is supported. No need to check it at runtime.
>
> Coverity issue: 158646
> Fixes: 37a56cce7b8e ("app/testpmd: enable DDP get info feature")
> Cc: andrey.chili...@intel.com
> Cc: sta...@dpdk.org
>
> Signed-off-by: Tomasz Kulasek <tomaszx.kula...@intel.com>
Acked-by: Jingjing Wu <jingjing...@intel.com>