console: zap ds arg from register_displaychangelistener

We don't have multiple DisplayStates any more,
so passing it in as argument is not needed.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2013-04-23 15:44:31 +02:00 committed by Anthony Liguori
parent cdd5b93757
commit 5209089fcd
9 changed files with 13 additions and 16 deletions

View file

@ -2832,7 +2832,7 @@ void vnc_display_init(DisplayState *ds)
vnc_start_worker_thread();
vs->dcl.ops = &dcl_ops;
register_displaychangelistener(ds, &vs->dcl);
register_displaychangelistener(&vs->dcl);
}