[PATCH] net/idpf: remove useless function

Bruce Richardson bruce.richardson at intel.com
Thu Feb 19 12:01:42 CET 2026


On Wed, Feb 18, 2026 at 01:44:40PM +0000, Bruce Richardson wrote:
> On Wed, Feb 18, 2026 at 12:04:12PM +0000, Ciara Loftus wrote:
> > Commit 376faf4aaa16 ("net/idpf: enable simple Tx function") removed the
> > one assignment that was performed in the function
> > idpf_qc_tx_vec_avx512_setup. Without it, the function is useless and
> > results in USELESS_CALL defects reported by Coverity. Fix these by
> > removing the function and the logic that calls it in idpf and cpfl.
> > 
> > Coverity issue: 501500
> > Coverity issue: 501501
> > 
> > Fixes: 376faf4aaa16 ("net/idpf: enable simple Tx function")
> > 
> > Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
> > ---
> >  drivers/net/intel/cpfl/cpfl_rxtx.c               | 16 ----------------
> >  drivers/net/intel/idpf/idpf_common_rxtx.h        |  4 ----
> >  drivers/net/intel/idpf/idpf_common_rxtx_avx512.c | 10 ----------
> >  drivers/net/intel/idpf/idpf_rxtx.c               | 16 ----------------
> >  4 files changed, 46 deletions(-)
> 
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Applied to dpdk-next-net-intel.

Thanks,
/Bruce


More information about the dev mailing list