Skip to content

Commit

Permalink
ivshmem: no need for opaque argument
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
  • Loading branch information
elmarco committed Feb 2, 2016
1 parent 10ae9d7 commit 2c64846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hw/misc/ivshmem.c
Expand Up @@ -350,11 +350,11 @@ static void ivshmem_vector_poll(PCIDevice *dev,
}
}

static CharDriverState* create_eventfd_chr_device(void * opaque, EventNotifier *n,
static CharDriverState* create_eventfd_chr_device(IVShmemState *s,
EventNotifier *n,
int vector)
{
/* create a event character device based on the passed eventfd */
IVShmemState *s = opaque;
PCIDevice *pdev = PCI_DEVICE(s);
int eventfd = event_notifier_get_fd(n);
CharDriverState *chr;
Expand Down

0 comments on commit 2c64846

Please sign in to comment.