summaryrefslogtreecommitdiffstats
path: root/drivers/hv/channel.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-13 11:32:51 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 09:01:15 -0700
commit5ffd00e241ea30fdd907d56419170a1e1338664c (patch)
treedc04e4dd6f3eefdfeaf8dd351341a46f28635359 /drivers/hv/channel.c
parenta8fb5f3d582d3b4997d9449ceb82a0223d169486 (diff)
downloadlinux-5ffd00e241ea30fdd907d56419170a1e1338664c.tar.gz
linux-5ffd00e241ea30fdd907d56419170a1e1338664c.tar.bz2
linux-5ffd00e241ea30fdd907d56419170a1e1338664c.zip
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>
Diffstat (limited to 'drivers/hv/channel.c')
-rw-r--r--drivers/hv/channel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
index 64f19f226c4e..f26a5d252547 100644
--- a/drivers/hv/channel.c
+++ b/drivers/hv/channel.c
@@ -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 =