summaryrefslogtreecommitdiffstats
path: root/drivers/hv/channel.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-13 11:32:54 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 09:01:16 -0700
commit7c55e1d0e64cf5acd8cf4a25927e2c7c322063aa (patch)
treec1013115c85c54faf9ed3137502ac23c119a0fdc /drivers/hv/channel.c
parent68234c049cc1637a8898ebb3743c8587560929b7 (diff)
downloadlinux-7c55e1d0e64cf5acd8cf4a25927e2c7c322063aa.tar.bz2
hv: move "device_id" bus attribute to dev_groups
This moves the "device_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>
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 df9499c1ef32..dde30b48c56c 100644
--- a/drivers/hv/channel.c
+++ b/drivers/hv/channel.c
@@ -69,10 +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->interface_instance,
- &channel->offermsg.offer.if_instance,
- sizeof(uuid_le));
-
monitorpage = (struct hv_monitor_page *)vmbus_connection.monitor_pages;
debuginfo->servermonitor_pending =