[dpdk-dev] [PATCH v6 4/9] alarm: remove direct access to interrupt handle
David Marchand
david.marchand at redhat.com
Mon Oct 25 13:09:41 CEST 2021
On Mon, Oct 25, 2021 at 12:49 PM Dmitry Kozlyuk
<dmitry.kozliuk at gmail.com> wrote:
> > diff --git a/lib/eal/freebsd/eal_alarm.c b/lib/eal/freebsd/eal_alarm.c
> > index c38b2e04f8..1a8fcf24c5 100644
> > --- a/lib/eal/freebsd/eal_alarm.c
> > +++ b/lib/eal/freebsd/eal_alarm.c
> > @@ -32,7 +32,7 @@
> >
> > struct alarm_entry {
> > LIST_ENTRY(alarm_entry) next;
> > - struct rte_intr_handle handle;
> > + struct rte_intr_handle *handle;
>
> This field is never used and can be just removed.
Indeed, removed.
>
> > struct timespec time;
> > rte_eal_alarm_callback cb_fn;
> > void *cb_arg;
> [...]
>
--
David Marchand
More information about the dev
mailing list