diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-13 20:32:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 18:01:15 +0200 |
commit | a8fb5f3d582d3b4997d9449ceb82a0223d169486 (patch) | |
tree | aafa9ae9904fd17a64518e3d605c372b166ddfb3 /drivers/hv/channel.c | |
parent | hv: use dev_groups for device attributes (diff) | |
download | linux-a8fb5f3d582d3b4997d9449ceb82a0223d169486.tar.xz linux-a8fb5f3d582d3b4997d9449ceb82a0223d169486.zip |
hv: move "state" 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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index b58a1785d038..64f19f226c4e 100644 --- a/drivers/hv/channel.c +++ b/drivers/hv/channel.c @@ -69,7 +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; - debuginfo->state = channel->state; memcpy(&debuginfo->interfacetype, &channel->offermsg.offer.if_type, sizeof(uuid_le)); memcpy(&debuginfo->interface_instance, |