mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
qxl: drop unused generation variable
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20180810132236.25908-1-kraxel@redhat.com
This commit is contained in:
@@ -2057,7 +2057,6 @@ static void qxl_realize_common(PCIQXLDevice *qxl, Error **errp)
|
||||
|
||||
qemu_spice_display_init_common(&qxl->ssd);
|
||||
qxl->mode = QXL_MODE_UNDEFINED;
|
||||
qxl->generation = 1;
|
||||
qxl->num_memslots = NUM_MEMSLOTS;
|
||||
qemu_mutex_init(&qxl->track_lock);
|
||||
qemu_mutex_init(&qxl->async_lock);
|
||||
|
||||
@@ -43,7 +43,6 @@ typedef struct PCIQXLDevice {
|
||||
|
||||
enum qxl_mode mode;
|
||||
uint32_t cmdflags;
|
||||
int generation;
|
||||
uint32_t revision;
|
||||
|
||||
int32_t num_memslots;
|
||||
|
||||
Reference in New Issue
Block a user