mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
ui/spice: QXLInterface method set_mm_time() is now dead, drop
SPICE_NEEDS_SET_MM_TIME is now always off. Bury the dead code. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20230109190321.1056914-7-armbru@redhat.com>
This commit is contained in:
parent
34d55725e6
commit
dfa2584816
4 changed files with 0 additions and 32 deletions
|
@ -543,22 +543,6 @@ static void interface_set_compression_level(QXLInstance *sin, int level)
|
|||
qxl_rom_set_dirty(qxl);
|
||||
}
|
||||
|
||||
#if SPICE_NEEDS_SET_MM_TIME
|
||||
static void interface_set_mm_time(QXLInstance *sin, uint32_t mm_time)
|
||||
{
|
||||
PCIQXLDevice *qxl = container_of(sin, PCIQXLDevice, ssd.qxl);
|
||||
|
||||
if (!qemu_spice_display_is_running(&qxl->ssd)) {
|
||||
return;
|
||||
}
|
||||
|
||||
trace_qxl_interface_set_mm_time(qxl->id, mm_time);
|
||||
qxl->shadow_rom.mm_clock = cpu_to_le32(mm_time);
|
||||
qxl->rom->mm_clock = cpu_to_le32(mm_time);
|
||||
qxl_rom_set_dirty(qxl);
|
||||
}
|
||||
#endif
|
||||
|
||||
static void interface_get_init_info(QXLInstance *sin, QXLDevInitInfo *info)
|
||||
{
|
||||
PCIQXLDevice *qxl = container_of(sin, PCIQXLDevice, ssd.qxl);
|
||||
|
@ -1145,9 +1129,6 @@ static const QXLInterface qxl_interface = {
|
|||
#endif
|
||||
|
||||
.set_compression_level = interface_set_compression_level,
|
||||
#if SPICE_NEEDS_SET_MM_TIME
|
||||
.set_mm_time = interface_set_mm_time,
|
||||
#endif
|
||||
.get_init_info = interface_get_init_info,
|
||||
|
||||
/* the callbacks below are called from spice server thread context */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue