summaryrefslogtreecommitdiff
path: root/server/reds.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-03-23 16:01:54 +0100
committerGerd Hoffmann <kraxel@redhat.com>2010-05-19 11:22:05 +0200
commitdf95728bf050b1753218832854c7b4db1b6e3377 (patch)
treefd5fc346240d021df174c2849a7e17a7058cb7ba /server/reds.c
parent43caec519ec7aec3a6170414ea812df83a72eae4 (diff)
zap CoreInterface->next()
Interfaces must be registered after spice_server_init(). The "next" callback is used to discover interfaces registered before spice_server_init(). Which is a empty list and thus pretty pointless. Remove it.
Diffstat (limited to 'server/reds.c')
-rw-r--r--server/reds.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/server/reds.c b/server/reds.c
index 529eb86..bfd4847 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -4958,8 +4958,6 @@ const char *version_string = VERSION;
static void do_spice_init(CoreInterface *core_interface)
{
- VDInterface *interface = NULL;
-
red_printf("starting %s", version_string);
if (core_interface->base.base_version != VM_INTERFACE_VERSION) {
@@ -4989,11 +4987,6 @@ static void do_spice_init(CoreInterface *core_interface)
red_error("key modifiers timer create failed");
}
- if (core->next) {
- while ((interface = core->next(core, interface))) {
- interface_change_notifier(&reds, interface, VD_INTERFACE_ADDING);
- }
- }
if (core->register_change_notifiers) {
core->register_change_notifiers(core, &reds, interface_change_notifier);
}