summaryrefslogtreecommitdiffstats
path: root/drivers/hv/channel.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-13 11:32:57 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 09:01:16 -0700
commit1cee272b0249c5007391da6cf42903b8f30dbc5a (patch)
treef7f68670d80561ad6fc7f65644f295178edd4492 /drivers/hv/channel.c
parent76c52bbe5e5ffc6812dcd49729c09f5a207b4a9a (diff)
downloadlinux-0-day-1cee272b0249c5007391da6cf42903b8f30dbc5a.tar.gz
linux-0-day-1cee272b0249c5007391da6cf42903b8f30dbc5a.tar.xz
hv: move "client/server_monitor_latency" bus attributes to dev_groups
This moves the "client_monitor_latency" and "server_monitor_latency" bus attributes 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>
Diffstat (limited to 'drivers/hv/channel.c')
-rw-r--r--drivers/hv/channel.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
index d600360ee788d..ff61464f57ca7 100644
--- a/drivers/hv/channel.c
+++ b/drivers/hv/channel.c
@@ -70,15 +70,11 @@ void vmbus_get_debug_info(struct vmbus_channel *channel,
u8 monitor_offset = (u8)channel->offermsg.monitorid % 32;
monitorpage = vmbus_connection.monitor_pages[0];
- debuginfo->servermonitor_latency =
- monitorpage->latency[monitor_group][monitor_offset];
debuginfo->servermonitor_connectionid =
monitorpage->parameter[monitor_group]
[monitor_offset].connectionid.u.id;
monitorpage = vmbus_connection.monitor_pages[1];
- debuginfo->clientmonitor_latency =
- monitorpage->latency[monitor_group][monitor_offset];
debuginfo->clientmonitor_connectionid =
monitorpage->parameter[monitor_group]
[monitor_offset].connectionid.u.id;