hv: move "monitor_id" bus attribute to dev_groups
This moves the "state" 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:
@@ -77,8 +77,6 @@ void vmbus_get_debug_info(struct vmbus_channel *channel,
|
||||
|
||||
monitorpage = (struct hv_monitor_page *)vmbus_connection.monitor_pages;
|
||||
|
||||
debuginfo->monitorid = channel->offermsg.monitorid;
|
||||
|
||||
debuginfo->servermonitor_pending =
|
||||
monitorpage->trigger_group[monitor_group].pending;
|
||||
debuginfo->servermonitor_latency =
|
||||
|
Reference in New Issue
Block a user