[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 1/2] mini-os: remove event channel specific struct file member
Juergen Gross, le ven. 07 janv. 2022 11:47:05 +0100, a ecrit: > The event channel specific union member in struct file is no longer > needed, Doesn't xen/tools/libs/evtchn/minios.c use it? > so remove it together with the associated structure > definitions. > > Signed-off-by: Juergen Gross <jgross@xxxxxxxx> > --- > include/lib.h | 12 ------------ > 1 file changed, 12 deletions(-) > > diff --git a/include/lib.h b/include/lib.h > index 7a0546b..cbfeea3 100644 > --- a/include/lib.h > +++ b/include/lib.h > @@ -173,15 +173,6 @@ enum fd_type { > FTYPE_TPM_TIS, > }; > > -LIST_HEAD(evtchn_port_list, evtchn_port_info); > - > -struct evtchn_port_info { > - LIST_ENTRY(evtchn_port_info) list; > - evtchn_port_t port; > - unsigned long pending; > - int bound; > -}; > - > struct file { > enum fd_type type; > bool read; /* maybe available for read */ > @@ -189,9 +180,6 @@ struct file { > union { > int fd; /* Any fd from an upper layer. */ > void *dev; > - struct { > - struct evtchn_port_list ports; > - } evtchn; > struct gntmap gntmap; > }; > }; > -- > 2.26.2
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |