diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-13 20:32:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 18:01:16 +0200 |
commit | 7c55e1d0e64cf5acd8cf4a25927e2c7c322063aa (patch) | |
tree | c1013115c85c54faf9ed3137502ac23c119a0fdc /drivers/hv/channel.c | |
parent | hv: move "class_id" bus attribute to dev_groups (diff) | |
download | linux-7c55e1d0e64cf5acd8cf4a25927e2c7c322063aa.tar.xz linux-7c55e1d0e64cf5acd8cf4a25927e2c7c322063aa.zip |
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.c | 4 |
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 = |