hv: move "class_id" bus attribute to dev_groups
This moves the "class_id" bus attribute to the dev_groups structure, removing the need for it to be in a temporary structure. Tested-by: "K. Y. Srinivasan" <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -69,8 +69,6 @@ void vmbus_get_debug_info(struct vmbus_channel *channel,
|
||||
u8 monitor_group = (u8)channel->offermsg.monitorid / 32;
|
||||
u8 monitor_offset = (u8)channel->offermsg.monitorid % 32;
|
||||
|
||||
memcpy(&debuginfo->interfacetype,
|
||||
&channel->offermsg.offer.if_type, sizeof(uuid_le));
|
||||
memcpy(&debuginfo->interface_instance,
|
||||
&channel->offermsg.offer.if_instance,
|
||||
sizeof(uuid_le));
|
||||
|
Reference in New Issue
Block a user