On Tue, Feb 10, 2026 at 02:27:18PM +0100, Burakov, Anatoly wrote:
> On 2/9/2026 5:45 PM, Bruce Richardson wrote:
> > Now that the common scalar Tx function has all necessary hooks for the
> > features supported by the iavf driver, use the common function to avoid
> > duplicated code.
> > 
> > Signed-off-by: Bruce Richardson <[email protected]>
> > ---
> 
> 
> > +           }
> > -           return;
> > +           /* TSO segmentation field */
> > +           tlen = iavf_fill_ctx_desc_segmentation_field(&cd_type_cmd,
> > +                                                        mbuf, ipsec_md);
> > +           (void)tlen; /* Suppress unused variable warning */
> 
> RTE_SET_USED?
> 
> Acked-by: Anatoly Burakov <[email protected]>
> 
since tlen is a local variable and is only used for the return value here,
I can just get rid of it, saving having to pretend it's actually being used..

Reply via email to