The event channel specific union member in struct file is no longer
needed, so remove it together with the associated structure
definitions.
Signed-off-by: Juergen Gross <jgross@suse.com>
---
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
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@suse.com>
> ---
> 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
On 09.01.22 02:15, Samuel Thibault wrote: > 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? Not after the Xen patches have been applied. Juergen
© 2016 - 2026 Red Hat, Inc.