diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-10-14 14:11:17 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-10-15 11:14:40 +0200 |
commit | 93ab5844b2cd5367966d7b5bae154e0d3303b504 (patch) | |
tree | fdc01b73d9999cb0970d77105fd24a44b25efceb /include/chardev | |
parent | 70122d62302c97bcd205956a544b8e79f2a4a50f (diff) |
chardev/spice: simplify chardev setup
Initialize spice before chardevs. That allows to register the spice
chardevs directly in the init function and removes the need to maintain
a linked list of chardevs just for registration.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20201014121120.13482-5-kraxel@redhat.com
Diffstat (limited to 'include/chardev')
-rw-r--r-- | include/chardev/spice.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/chardev/spice.h b/include/chardev/spice.h index 1115502cdf..58e5b727e9 100644 --- a/include/chardev/spice.h +++ b/include/chardev/spice.h @@ -13,7 +13,6 @@ struct SpiceChardev { bool blocked; const uint8_t *datapos; int datalen; - QLIST_ENTRY(SpiceChardev) next; }; typedef struct SpiceChardev SpiceChardev; |