Drivers: hv: vmbus: Get rid of unnecessary state in hv_context
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 18 Oct 2018 05:09:28 +0000 (05:09 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Nov 2018 20:58:26 +0000 (12:58 -0800)
commita3cadf3850cd901a11b8ec610ac627ecbe3a87a5
tree73289b5a896243e91f8385a42154d25eae20c314
parent78ef4193bbb97d17853f64a7975aa971d625c478
Drivers: hv: vmbus: Get rid of unnecessary state in hv_context

Currently we are replicating state in struct hv_context that is unnecessary -
this state can be retrieved from the hypervisor. Furthermore, this is a per-cpu
state that is being maintained as a global state in struct hv_context.
Get rid of this state in struct hv_context.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv.c
drivers/hv/hyperv_vmbus.h