From 3d558330adec7233da6c48c5e8584eb176fb77d7 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 23 Nov 2022 14:38:11 +0100 Subject: Drop more useless casts from void * to pointer Signed-off-by: Markus Armbruster Reviewed-by: Laurent Vivier Message-Id: <20221123133811.1398562-1-armbru@redhat.com> --- hw/hyperv/vmbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/hyperv/vmbus.c') diff --git a/hw/hyperv/vmbus.c b/hw/hyperv/vmbus.c index 30bc04e1c4..f956381cc9 100644 --- a/hw/hyperv/vmbus.c +++ b/hw/hyperv/vmbus.c @@ -2104,7 +2104,7 @@ static void process_message(VMBus *vmbus) goto out; } msgdata = hv_msg->payload; - msg = (struct vmbus_message_header *)msgdata; + msg = msgdata; trace_vmbus_process_incoming_message(msg->message_type); -- cgit v1.2.3